/* --- WhatsApp / Enquiry buttons ---
   Scoped to this module only. This file used to also carry a full copy of
   WC Slot & Decor Add-ons' own booking-form CSS (date field, time slots,
   package options, swatches, blackout notices) plus a global
   ".woocommerce div.product form.cart { display:flex }" override - none of
   that belongs to the Enquiry/WhatsApp feature, and that flex override in
   particular fought with the other plugin's multi-row booking fields
   (date/time-slot/package-options) whenever both plugins were active on the
   same product. Removed; this file now only styles what it actually renders. */

.ctwc-action-buttons {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	width: 100%;
}

.ctwc-action-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border: none;
	border-radius: 6px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.ctwc-action-btn:hover {
	opacity: 0.9;
	color: #fff;
}

.ctwc-action-btn svg {
	flex-shrink: 0;
}

@media (max-width: 600px) {
	.ctwc-action-buttons {
		flex-direction: column;
	}
}

/* --- Enquiry Modal --- */
.ctwc-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ctwc-modal-box {
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	max-width: 380px;
	width: 100%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ctwc-modal-box h3 {
	margin: 0 0 16px;
}

.ctwc-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background-color: transparent;
	border: none;
	box-shadow: none;
	padding: 4px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #777;
	transition: color 0.15s ease, background-color 0.15s ease;
}

#ctwc_enquiry_form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#ctwc_enquiry_form input[type="text"],
#ctwc_enquiry_form input[type="tel"],
#ctwc_enquiry_form input[type="email"],
#ctwc_enquiry_form textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	margin-bottom: 0;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
}

#ctwc_enquiry_form textarea {
	resize: vertical;
	min-height: 70px;
}

.ctwc-enquiry-error {
	color: #a00;
	font-size: 13px;
	margin-bottom: 8px;
}

.ctwc-enquiry-success {
	color: #2a9d5c;
	font-weight: 600;
	text-align: center;
}

.ctwc-enquiry-submit-btn {
	width: 100%;
}

.ctwc-hidden {
	display: none !important;
}
