/* POPUP */
.booking-popup {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 5000;
	pointer-events: all;
}

.booking-popup.active {
	display: block;
}

.popup-overlay {
	position: absolute;
	inset: 0;
	pointer-events: all;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.popup-container {
	position: relative;
	max-width: 500px;
	margin: calc(120px + env(safe-area-inset-top)) auto 40px;
	padding: 50px 35px;
	padding-top: 60px; /* extra breathing room for X */

	/* Frosted glass */
	background: rgba(20, 20, 20, 0.45);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);

	/* Thinner, premium border */
	border: 0.5px solid rgba(212, 175, 55, 0.25);

	/* Depth */
	box-shadow:
		0 20px 60px rgba(0,0,0,0.6),
		inset 0 1px 0 rgba(255,255,255,0.05);

	border-radius: 14px;
	transform: translateY(-10px);
	z-index: 10;
}
.popup-container::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 14px;

	background: linear-gradient(
		120deg,
		rgba(255,255,255,0.08),
		transparent 40%,
		transparent 60%,
		rgba(255,255,255,0.05)
	);
	pointer-events: none;
}
.popup-container::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
	border-radius: 14px 14px 0 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
	pointer-events: none;
}
.popup-container button {
	margin-top: 20px;
}

/* Close */
.popup-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 20px;
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: 0.2s ease;
}

.popup-close:hover {
	background: rgba(255,255,255,0.08);
}

/* Steps */
.popup-step {
	display: none;
	text-align: center;
	gap: 12px;
	padding-top: 10px;
}
.popup-step[data-step="4"] p {
	margin-bottom: 20px;
}
.popup-step h2 {
	margin-bottom: 10px;
}

#whatsappBtn {
	margin-top: 20px;
	display: inline-flex;
}

.popup-step.active {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.popup-actions {
	display: flex;
	gap: 10px;
	width: 100%;
	justify-content: center;
	margin-top: 20px;
}

.popup-actions .btn-outline,
.popup-actions .btn-gold {
	min-width: 140px;
}
/* FIX: keep outline style clean inside popup */
.popup-actions .btn-outline {
	background: transparent !important;
	color: var(--gold);
	border: 1px solid var(--gold);
}

.popup-actions .btn-outline::before {
	display: none; /* disables gold fill animation */
}

.popup-actions .btn-outline:hover {
	background: rgba(212,175,55,0.1);
	color: var(--gold);
	transform: translateY(-1px);
}

/* Progress */
.popup-progress {
	height: 4px;
	background: #222;
	margin-bottom: 20px;
}

.progress-bar {
	height: 100%;
	width: 25%;
	background: var(--gold);
	transition: 0.3s;
}
@media (max-width: 768px) {
	.popup-container {
		padding: 40px 20px;
		margin: 100px 15px 30px;
	}
}
/* Service Options */
.service-options {
	display: grid;
	grid-template-columns: 1fr !important; /* force override */
	gap: 12px;
	margin: 25px 0;
}
@media (min-width: 768px) {
	.service-options {
		grid-template-columns: 1fr 1fr;
	}
}

.service-options div {
	padding: 18px;
	text-align: center;
	border-radius: 8px;
	font-weight: 500;
	border: 1px solid rgba(212,175,55,0.25); /* ADD THIS */
	background: rgba(255,255,255,0.02);
	transition: all 0.25s ease;
}
.service-options div:hover {
	border-color: var(--gold);
	transform: translateY(-2px);
}

.service-options div.selected {
	background: var(--gold);
	color: black;
}

/* Inputs */
.popup-container input {
	width: 100%;
	padding: 12px;
	margin: 12px 0;

	background: rgba(0,0,0,0.4);
	border: 0.5px solid rgba(255,255,255,0.1);

	color: white;
	border-radius: 6px;

	backdrop-filter: blur(8px);
}
.popup-container input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 1px rgba(212,175,55,0.3);
}
.quick-dates,
.time-slots {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	margin: 15px 0;
}

.quick-dates button,
.time-slots button {
	padding: 10px 14px;
	border: 1px solid rgba(212,175,55,0.3);
	background: transparent;
	color: white;
	cursor: pointer;
	border-radius: 20px;
	font-size: 0.85rem;
	transition: 0.25s ease;
}
.popup-container input:-webkit-autofill,
.popup-container input:-webkit-autofill:hover,
.popup-container input:-webkit-autofill:focus,
.popup-container input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px rgba(0,0,0,0.4) inset !important;
	box-shadow: 0 0 0 1000px rgba(0,0,0,0.4) inset !important;
	-webkit-text-fill-color: white !important;
	transition: background-color 5000s ease-in-out 0s;
}

.quick-dates button:hover,
.time-slots button:hover {
	background: var(--gold);
	color: black;
}
@media (max-width: 640px) {
	.booking-popup {
	padding: 16px;
	align-items: center;
}

.booking-popup .popup-container {
	width: 100%;
	max-height: 86vh;
	padding: 40px 20px 24px;
	border-radius: 26px;
}

.service-options {
	grid-template-columns: 1fr;
}

.popup-actions .btn-gold,
.popup-actions .btn-outline {
	width: auto;
	max-width: none;
}
}