/* ─── Waiting List Trigger Button ──────────────────────────── */

.lp-waitlist-trigger-wrapper {
	text-align: center;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px dashed #e0e0e0;
}

.lp-waitlist-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1a73e8;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 20px;
	background: #e8f4fd;
	transition: all 0.2s;
}

.lp-waitlist-trigger-btn:hover {
	background: #d0e8fa;
	color: #1557b0;
	text-decoration: none;
}

.lp-waitlist-trigger-btn i {
	font-size: 15px;
}

/* ─── Modal Overlay ───────────────────────────────────────── */

.lp-waitlist-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.lp-waitlist-modal {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: lp-waitlist-modal-in 0.2s ease-out;
}

@keyframes lp-waitlist-modal-in {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.lp-waitlist-modal-content {
	padding: 0;
}

body.lp-waitlist-modal-open {
	overflow: hidden;
}

.lp-waitlist-loading {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 14px;
}

/* ─── Waiting List Form ───────────────────────────────────── */

.lp-waitlist-form {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
}

.lp-waitlist-form-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.lp-waitlist-form-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.lp-waitlist-form-close {
	color: #999;
	font-size: 18px;
	text-decoration: none;
}

.lp-waitlist-form-close:hover {
	color: #333;
}

.lp-waitlist-form-desc {
	font-size: 13px;
	color: #666;
	margin: 0 0 16px;
	line-height: 1.4;
}

.lp-waitlist-row {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.lp-waitlist-field {
	flex: 1;
}

.lp-waitlist-field-full {
	flex: none;
	width: 100%;
}

.lp-waitlist-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #555;
	margin-bottom: 4px;
}

.lp-waitlist-field label small {
	font-weight: 400;
	color: #999;
}

.lp-waitlist-field input,
.lp-waitlist-field select,
.lp-waitlist-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	color: #333;
	background: #fafafa;
	transition: border-color 0.15s;
	box-sizing: border-box;
}

.lp-waitlist-field input:focus,
.lp-waitlist-field select:focus,
.lp-waitlist-field textarea:focus {
	border-color: #1a73e8;
	outline: none;
	background: #fff;
}

.lp-waitlist-form-actions {
	margin-top: 16px;
}

.lp-waitlist-submit-btn {
	width: 100%;
	justify-content: center;
}

/* ─── Service Extras ──────────────────────────────────────── */

.lp-waitlist-extras {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lp-waitlist-extra-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid #eee;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s;
	font-size: 13px;
}

.lp-waitlist-extra-item:hover {
	background: #f8f9fa;
	border-color: #ddd;
}

.lp-waitlist-extra-item input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.lp-waitlist-extra-name {
	flex: 1;
	font-weight: 500;
}

.lp-waitlist-extra-price {
	color: #1a73e8;
	font-size: 12px;
	font-weight: 600;
}

/* ─── Messages ────────────────────────────────────────────── */

.lp-waitlist-form-message {
	margin-top: 12px;
}

.lp-waitlist-msg-success {
	background: #d4edda;
	color: #155724;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

.lp-waitlist-msg-error {
	background: #f8d7da;
	color: #721c24;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 480px) {
	.lp-waitlist-row {
		flex-direction: column;
		gap: 8px;
	}
}
