/* WooCommerce WhatsApp Quote Frontend Styles */

/* Modal Backdrop */
.wwq-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wwq-modal.wwq-show {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

/* Modal Content */
.wwq-modal-content {
	background-color: #ffffff;
	margin: auto;
	padding: 30px;
	border-radius: 16px;
	width: 90%;
	max-width: 450px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.2);
	position: relative;
	transform: translateY(20px);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wwq-modal.wwq-show .wwq-modal-content {
	transform: translateY(0);
}

/* Close Button */
.wwq-modal-close {
	color: #aaa;
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.2s ease;
}

.wwq-modal-close:hover,
.wwq-modal-close:focus {
	color: #333;
	text-decoration: none;
}

/* Typography */
.wwq-modal-title {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
}

.wwq-modal-desc {
	margin-bottom: 25px;
	font-size: 14px;
	color: #666;
	text-align: center;
	line-height: 1.5;
}

/* Consultants List */
.wwq-consultants-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Consultant Card */
.wwq-consultant-card {
	display: flex;
	align-items: center;
	padding: 15px;
	border-radius: 12px;
	background: #f8f9fa;
	border: 1px solid #edf2f7;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wwq-consultant-card:hover {
	background: #ffffff;
	border-color: #25d366;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
	transform: translateY(-2px);
}

.wwq-consultant-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e8f5e9;
	color: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.wwq-consultant-icon svg {
	width: 24px;
	height: 24px;
}

.wwq-consultant-info {
	flex-grow: 1;
}

.wwq-consultant-name {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #2d3748;
}

.wwq-consultant-dept {
	font-size: 13px;
	color: #718096;
	display: block;
	margin-top: 4px;
}

/* Quote Button Base Styles */
.wwq-quote-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	margin-top: 10px;
}

/* WooCommerce specific adjustments */
.woocommerce div.product form.cart .wwq-quote-button,
.woocommerce-page div.product form.cart .wwq-quote-button {
	margin-top: 15px;
	width: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout .wwq-quote-button {
	width: 100%;
	margin-bottom: 1em;
	font-size: 1.25em;
	padding: 1em;
}

/* Quantity Prompt inside Modal */
.wwq-qty-prompt {
	margin-bottom: 20px;
	text-align: center;
	padding: 15px;
	background: #f0f4f8;
	border-radius: 8px;
}
.wwq-qty-prompt label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #2d3748;
}
.wwq-qty-prompt input {
	width: 80px;
	text-align: center;
	padding: 8px;
	border: 1px solid #cbd5e0;
	border-radius: 4px;
}
