/*
 * Aggarwal Holidays — Traveler customer login and registration pages.
 * Scoped to .ah-customer-access so account processing remains untouched.
 */

.ah-customer-access {
	--ah-login-navy: #0b2748;
	--ah-login-navy-light: #174979;
	--ah-login-orange: #fa5636;
	--ah-login-orange-dark: #e64527;
	--ah-login-text: #1f3044;
	--ah-login-muted: #69798c;
	--ah-login-line: #dfe7f0;
	background: #f3f6fa;
	color: var(--ah-login-text);
}

.ah-customer-access #st-content-wrapper {
	display: none;
}

.ah-customer-access #st-login-form-page {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
	width: min(1050px, calc(100% - 30px));
	min-height: 570px;
	margin: 64px auto 72px;
	overflow: hidden;
	border: 1px solid rgba(11, 39, 72, 0.08);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 28px 70px rgba(11, 39, 72, 0.14);
}

.ah-customer-access .ah-login-brand-panel {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 58px 58px 50px;
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 8%, rgba(250, 86, 54, 0.33) 0 72px, transparent 73px),
		radial-gradient(circle at 4% 96%, rgba(255, 255, 255, 0.08) 0 145px, transparent 146px),
		linear-gradient(145deg, var(--ah-login-navy) 0%, #10375f 58%, var(--ah-login-navy-light) 100%);
	color: #fff;
}

.ah-customer-access .ah-login-brand-panel::after {
	position: absolute;
	top: 105px;
	right: -92px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	content: "";
}

.ah-customer-access .ah-login-brand-mark {
	display: grid;
	width: 58px;
	height: 58px;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.05em;
	place-items: center;
}

.ah-customer-access .ah-login-brand-mark--image {
	width: 82px;
	height: 82px;
	padding: 8px;
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.96);
}

.ah-customer-access .ah-login-brand-mark--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ah-customer-access .ah-login-eyebrow {
	margin: 0 0 12px;
	color: #ff9a83;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.ah-customer-access .ah-login-brand-panel h1 {
	max-width: 430px;
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(34px, 3.1vw, 48px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.ah-customer-access .ah-login-intro {
	max-width: 430px;
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.79);
	font-size: 15px;
	line-height: 1.75;
}

.ah-customer-access .ah-login-benefits {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.ah-customer-access .ah-login-benefits li {
	position: relative;
	margin: 0 0 13px;
	padding-left: 28px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.5;
}

.ah-customer-access .ah-login-benefits li::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: grid;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: rgba(250, 86, 54, 0.95);
	color: #fff;
	content: "\2713";
	font-size: 11px;
	font-weight: 800;
	place-items: center;
}

.ah-customer-access .ah-login-help {
	display: inline-flex;
	flex-direction: column;
	align-self: flex-start;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ah-customer-access .ah-login-help:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.16);
}

.ah-customer-access .ah-login-help span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ah-customer-access .ah-login-help strong {
	margin-top: 2px;
	font-size: 14px;
}

.ah-customer-access #st-login-form-page > .modal-dialog {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: none;
	min-height: 100%;
	margin: 0;
	background: #fff;
}

.ah-customer-access #st-login-form-page .modal-content {
	width: 100%;
	padding: 48px 46px;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.ah-customer-access #st-login-form-page .modal-header {
	padding: 0 0 22px;
	border: 0;
}

.ah-customer-access #st-login-form-page .account-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	margin: 0;
	padding: 5px;
	border-radius: 12px;
	background: #f1f5f9;
	list-style: none;
}

.ah-customer-access #st-login-form-page .account-tabs li {
	margin: 0;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--ah-login-muted);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.ah-customer-access #st-login-form-page .account-tabs li.active {
	background: var(--ah-login-navy);
	box-shadow: 0 7px 18px rgba(11, 39, 72, 0.17);
	color: #fff;
}

.ah-customer-access #st-login-form-page .account-tabs a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ah-customer-access #st-login-form-page .modal-body {
	padding: 0;
}

.ah-customer-access #st-login-form-page .heading {
	margin: 0 0 25px;
	color: var(--ah-login-navy);
	font-size: 29px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.ah-customer-access #st-login-form-page .form-group {
	margin-bottom: 15px;
}

.ah-customer-access #st-login-form-page .form-control {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid var(--ah-login-line);
	border-radius: 11px;
	outline: none;
	background: #f8fafc;
	box-shadow: none;
	color: var(--ah-login-text);
	font-size: 14px;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ah-customer-access #st-login-form-page .form-control:focus {
	border-color: var(--ah-login-navy-light);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(23, 73, 121, 0.1);
}

.ah-customer-access #st-login-form-page input:-webkit-autofill,
.ah-customer-access #st-login-form-page input:-webkit-autofill:hover,
.ah-customer-access #st-login-form-page input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--ah-login-text);
	box-shadow: 0 0 0 1000px #f8fafc inset;
	transition: background-color 9999s ease-out;
}

.ah-customer-access #st-login-form-page .field-password {
	position: relative;
}

.ah-customer-access #st-login-form-page .field-password .form-control {
	padding-right: 48px;
}

.ah-customer-access #st-login-form-page .field-password .stt-icon {
	right: 17px;
	color: var(--ah-login-muted);
}

.ah-customer-access #st-login-form-page .form-submit {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--ah-login-orange), var(--ah-login-orange-dark));
	box-shadow: 0 10px 24px rgba(250, 86, 54, 0.26);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ah-customer-access #st-login-form-page .form-submit:hover,
.ah-customer-access #st-login-form-page .form-submit:focus {
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(250, 86, 54, 0.34);
}

.ah-customer-access #st-login-form-page .st-link,
.ah-customer-access #st-login-form-page .open-loss-password {
	color: var(--ah-login-orange) !important;
	font-weight: 700;
	text-decoration: none;
}

.ah-customer-access #st-login-form-page .st-icheck {
	align-items: center;
	gap: 14px;
	font-size: 13px;
}

.ah-customer-access #st-login-form-page input[type="checkbox"] {
	accent-color: var(--ah-login-navy);
}

.ah-customer-access #st-login-form-page .message-wrapper:not(:empty) {
	margin-top: 14px;
	padding: 11px 13px;
	border: 1px solid #f0c9c1;
	border-radius: 9px;
	background: #fff5f2;
	color: #a93f2b;
	font-size: 13px;
}

.ah-customer-access #st-login-form-page .loader-wrapper {
	border-radius: 0;
}

@media (max-width: 991px) {
	.ah-customer-access #st-login-form-page {
		grid-template-columns: minmax(300px, 0.82fr) minmax(390px, 1.18fr);
	}

	.ah-customer-access .ah-login-brand-panel {
		padding: 42px 34px;
	}

	.ah-customer-access .ah-login-benefits {
		display: none;
	}

	.ah-customer-access #st-login-form-page .modal-content {
		padding: 42px 34px;
	}
}

@media (max-width: 767px) {
	.ah-customer-access #st-login-form-page {
		display: block;
		width: calc(100% - 28px);
		min-height: 0;
		margin: 30px auto 46px;
		border-radius: 20px;
	}

	.ah-customer-access .ah-login-brand-panel {
		min-height: 230px;
		padding: 30px 25px;
	}

	.ah-customer-access .ah-login-brand-mark {
		width: 48px;
		height: 48px;
		margin-bottom: 17px;
		border-radius: 14px;
		font-size: 17px;
	}

	.ah-customer-access .ah-login-brand-mark--image {
		width: 66px;
		height: 66px;
		padding: 6px;
	}

	.ah-customer-access .ah-login-brand-panel h1 {
		margin-bottom: 10px;
		font-size: 31px;
	}

	.ah-customer-access .ah-login-intro {
		margin-bottom: 0;
		font-size: 14px;
		line-height: 1.6;
	}

	.ah-customer-access .ah-login-help {
		display: none;
	}

	.ah-customer-access #st-login-form-page > .modal-dialog {
		min-height: auto;
	}

	.ah-customer-access #st-login-form-page .modal-content {
		padding: 30px 22px 34px;
	}

	.ah-customer-access #st-login-form-page .heading {
		font-size: 25px;
	}

	.ah-customer-access #st-login-form-page .st-icheck {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ah-customer-access *,
	.ah-customer-access *::before,
	.ah-customer-access *::after {
		transition-duration: 0.01ms !important;
	}
}
