/* Hair Botox enquiry popup — scoped to the hair Botox Treatments page. */

html.ln-botox-lead-modal-open,
body.ln-botox-lead-modal-open {
	overflow: hidden;
}

.ln-botox-lead-modal[hidden] {
	display: none !important;
}

.ln-botox-lead-modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ln-botox-lead-modal:not([hidden]).ln-botox-lead-modal--visible {
	opacity: 1;
	visibility: visible;
}

.ln-botox-lead-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(44, 26, 10, 0.55);
	backdrop-filter: blur(2px);
}

.ln-botox-lead-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(44, 26, 10, 0.18);
	transform: none;
	transition: none;
	-webkit-overflow-scrolling: touch;
}

.ln-botox-lead-modal--visible .ln-botox-lead-modal__dialog {
	transform: none;
}

.ln-botox-lead-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #f5ede0;
	color: #2c1a0a;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ln-botox-lead-modal__close:hover,
.ln-botox-lead-modal__close:focus-visible {
	background: #205247;
	color: #ffffff;
	outline: none;
}

.ln-botox-lead-modal__close svg {
	width: 18px;
	height: 18px;
}

.ln-botox-lead-modal__header {
	padding: 28px 28px 0;
	flex-shrink: 0;
}

.ln-botox-lead-modal__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: #2c1a0a;
	margin: 0 0 6px;
	padding-right: 40px;
}

.ln-botox-lead-modal__subtitle {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #205247;
	margin: 0 0 8px;
	line-height: 1.5;
}

.ln-botox-lead-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 28px 28px;
}

.ln-botox-lead-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ln-botox-lead-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ln-botox-lead-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.ln-botox-lead-form__label {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #2c1a0a;
	padding: 0;
}

.ln-botox-lead-form__required {
	color: #b42318;
}

.ln-botox-lead-form__input {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #e8e0d4;
	border-radius: 6px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #2c1a0a;
	background: #ffffff;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.ln-botox-lead-form__input:focus {
	outline: none;
	border-color: #205247;
}

.ln-botox-lead-form__input::placeholder {
	color: #989795;
}

.ln-botox-lead-form__select {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	z-index: 3;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232C1A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 40px;
	cursor: pointer;
	pointer-events: auto;
}

.ln-botox-lead-form__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ln-botox-lead-form__times {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	max-height: 196px;
	overflow-y: auto;
	padding: 2px;
	-webkit-overflow-scrolling: touch;
}

.ln-botox-lead-form__times .ln-botox-lead-form__choice {
	width: 100%;
}

.ln-botox-lead-form__times .ln-botox-lead-form__choice span {
	width: 100%;
	min-width: 0;
	padding: 10px 8px;
	font-size: 13px;
}

.ln-botox-lead-form__choice {
	display: flex;
	position: relative;
	cursor: pointer;
	user-select: none;
}

.ln-botox-lead-form__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ln-botox-lead-form__choice span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 10px 16px;
	border: 1.5px solid #e8e0d4;
	border-radius: 6px;
	background: #ffffff;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #2c1a0a;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ln-botox-lead-form__choice:hover span {
	border-color: #205247;
	background: #f5ede0;
}

.ln-botox-lead-form__choice input:focus-visible + span {
	outline: 2px solid #205247;
	outline-offset: 2px;
}

.ln-botox-lead-form__choice input:checked + span {
	background: #205247;
	border-color: #205247;
	color: #ffffff;
	font-weight: 600;
}

.ln-botox-lead-form__error {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #b42318;
	margin: 0;
}

.ln-botox-lead-thanks {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 36px 28px 32px;
}

.ln-botox-lead-thanks[hidden] {
	display: none !important;
}

.ln-botox-lead-thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f5ede0;
	color: #205247;
}

.ln-botox-lead-thanks__icon svg {
	width: 32px;
	height: 32px;
}

.ln-botox-lead-thanks__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: #2c1a0a;
	margin: 8px 0 0;
}

.ln-botox-lead-thanks__message {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: #205247;
	margin: 0 0 8px;
}

.ln-botox-lead-modal__header[hidden],
.ln-botox-lead-form[hidden] {
	display: none !important;
}

.ln-botox-lead-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 4px;
	padding: 14px 24px;
	border: none;
	border-radius: 6px;
	background: #205247;
	color: #ffffff;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ln-botox-lead-form__submit:hover,
.ln-botox-lead-form__submit:focus-visible {
	background: #173b35;
	outline: none;
}

.ln-botox-lead-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.ln-botox-lead-form__submit-loader {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: ln-botox-lead-spin 0.7s linear infinite;
}

@keyframes ln-botox-lead-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.ln-botox-lead-modal:not([hidden]) {
		padding: 0;
		align-items: flex-end;
	}

	.ln-botox-lead-modal__dialog {
		max-width: 100%;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
		transform: none;
	}

	.ln-botox-lead-modal--visible .ln-botox-lead-modal__dialog {
		transform: none;
	}

	.ln-botox-lead-modal__header {
		padding: 24px 20px 0;
	}

	.ln-botox-lead-modal__title {
		font-size: 28px;
	}

	.ln-botox-lead-form {
		padding: 16px 20px 28px;
	}

	.ln-botox-lead-form__row {
		grid-template-columns: 1fr;
	}
}
