@charset "utf-8";
/*======================================================================
Gemini Response Solutions CSS Document
Document Site: Account (Auth)
Document Name: auth.css
======================================================================*/

/* Base */
html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	font-family: 'Source Sans 3', sans-serif;
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
}

/* Shell */
.auth {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 18%, rgba(58, 214, 197, 0.16), transparent 0 22%),
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 0 14%),
		radial-gradient(circle at 80% 78%, rgba(102, 57, 183, 0.40), transparent 0 24%),
		linear-gradient(135deg, var(--gemini-navy) 0%, #2a2250 48%, var(--gemini-purple) 100%);
}

.auth::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.18));
	pointer-events: none;
}

.auth::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(58, 214, 197, 0.06), transparent 30%),
		linear-gradient(300deg, rgba(102, 57, 183, 0.08), transparent 35%);
	pointer-events: none;
}

.auth-container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(380px, 470px);
	gap: 3rem;
	align-items: center;
	min-height: 100vh;
	padding: 2rem 2.5rem;
}

/* Left panel */
.left {
	max-width: 720px;
}

.logo {
	max-width: 260px;
	height: auto;
	margin-bottom: 2rem;
	display: block;
}

.auth-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.left h1 {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 400;
	color: rgba(255,255,255,0.72);
	line-height: 1.1;
}

.left h1 span {
	display: block;
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 700;
	color: #fff;
}

.left-info p:first-of-type {
	font-size: 1.08rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1.25rem;
}

.left-info p {
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(255,255,255,0.72);
	margin-bottom: 1rem;
}

/* Right panel */
.right {
	display: flex;
	justify-content: flex-end;
	position: relative;
}

.right::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(102,57,183,0.18), transparent 65%);
	filter: blur(10px);
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 0;
}

.auth-card {
	width: 100%;
	padding: 2rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow:
		0 30px 80px rgba(10, 12, 30, 0.35),
		0 10px 30px rgba(10, 12, 30, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	position: relative;
	z-index: 1;
	color: var(--gemini-navy);
}

.auth-card-header {
	margin-bottom: 1.75rem;
}

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.08em;
}

.auth-card h2 {
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--gemini-navy);
}

.auth-card p,
.form-footer {
	font-size: 0.98rem;
	line-height: 1.7;
	color: rgba(32,28,62,0.7);
	margin-bottom: 0;
}

/* Forms */
.form-label {
	color: var(--gemini-navy);
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 0.55rem;
}

.input-field-wrap {
	position: relative;
}

.input-icon {
	position: relative;
}

.input-icon-left {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	font-size: 0.9rem;
	color: rgba(32, 28, 62, 0.5);
	z-index: 2;
}

.input-icon .form-control {
	padding-left: 42px;
	padding-right: 42px;
}

.form-control {
	background: #ffffff;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-control.is-invalid {
	border-color: var(--gemini-red);
}

.form-control.is-valid {
	border-color: var(--gemini-aqua);
}

.form-control:focus + i,
.input-icon:focus-within i {
	color: var(--gemini-purple);
}

.password-field {
	position: relative;
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.password-toggle i {
	font-size: 0.95rem;
	color: rgba(32, 28, 62, 0.6);
	transition: color 0.2s ease;
}

.password-toggle:hover i {
	color: var(--gemini-purple);
}

.invalid-feedback {
	display: none;
	margin-top: 6px;
	font-size: 0.8rem;
}

.caps-warning {
	font-size: 0.75rem;
	color: var(--bs-form-invalid-color);
	margin-top: 6px;
}

.form-control.is-valid,
.form-control.is-invalid {
	background-image: none !important;
	background-repeat: no-repeat;
	background-position: unset;
}

/* Messages */
.msg {
	display: none;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.msg.error,
.msg.success {
	display: block;
}

.msg.error {
	background: rgba(196, 38, 46, 0.08);
	color: #842029;
	border: 1px solid rgba(196, 38, 46, 0.18);
}

.msg.success {
	background: rgba(58, 214, 197, 0.10);
	color: #0f5132;
	border: 1px solid rgba(58, 214, 197, 0.2);
}

/* Buttons + links */
.btn-account {
	background: linear-gradient(135deg, #6639B7 0%, #5a32a5 100%);
	box-shadow: 0 10px 25px rgba(102, 57, 183, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	color: #FFF;
	border: 0;
}

.btn-account:hover,
.btn-account:focus,
.btn-account:active {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(102, 57, 183, 0.45);
}

.btn-account:active {
	border-color: transparent !important;
}

.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	display: inline-block;
	margin-left: 8px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.form-link {
	color: var(--gemini-purple);
	text-decoration: none;
	font-weight: 600;
	margin-left: 5px;
}

.form-link:hover {
	color: var(--gemini-navy);
}

.form-link.disabled {
	pointer-events: none;
	opacity: 0.5;
	text-decoration: none;
	cursor: default;
}

.form-footer {
	margin-top: 0.25rem;
}

/* Footer */
.auth-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to top, rgba(32, 28, 62, 0.6), transparent);
	padding: 20px 0;
}

.auth-footer-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
	pointer-events: auto;
}

.auth-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-weight: 500;
}

.auth-footer a:hover {
	color: #ffffff;
}

.footer-sep {
	opacity: 0.4;
}

/* Portal card */
.portal-intro {
	padding: 60px;
	color: white;
}

.portal-heading {
	font-size: 3rem;
	font-weight: 600;
	margin-bottom: 15px;
}

.portal-sub {
	font-size: 1.1rem;
	opacity: 0.8;
}

.portal-card {
	background: rgba(255,255,255,0.9);
	border-radius: 28px;
	padding: 30px;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.3);
	backdrop-filter: blur(20px);
}

.portal-options {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.portal-option {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px;
	border-radius: 14px;
	text-decoration: none;
	background: #ffffff;
	border: 1px solid #eee;
	transition: all 0.2s ease;
}

.portal-option:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.portal-option-title {
	font-weight: 600;
	color: #201C3E;
}

.portal-option-desc {
	font-size: 0.9rem;
	color: #666;
}

.portal-option-icon {
	font-size: 1.5rem;
}

/* Policy pages */
.policy-shell {
	position: relative;
	z-index: 1;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.policy-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 3rem;
}

.policy-header .brand-logo-wrap {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.policy-header .brand-logo {
	width: 260px;
	max-width: 260px;
	height: auto;
	display: block;
}

.policy-header-link {
	color: rgba(255,255,255,0.88);
	text-decoration: none;
	font-weight: 600;
}

.policy-header-link:hover {
	color: #fff;
}

.policy-hero {
	max-width: 52rem;
	margin-bottom: 2rem;
}

.policy-title {
	font-size: clamp(2.4rem, 5vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 700;
	margin-bottom: 1rem;
}

.policy-lead {
	font-size: 1.05rem;
	line-height: 1.8;
	color: rgba(255,255,255,0.9);
	margin-bottom: 0.75rem;
}

.policy-meta {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.7);
	margin-bottom: 0;
}

.policy-card {
	background: rgba(255,255,255,0.92);
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 28px;
	box-shadow:
		0 30px 80px rgba(10, 12, 30, 0.28),
		inset 0 1px 0 rgba(255,255,255,0.7);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	padding: 2rem;
	color: var(--gemini-navy);
}

.policy-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(32, 28, 62, 0.1);
}

.policy-toc a {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 0.85rem;
	border-radius: 999px;
	background: rgba(102, 57, 183, 0.06);
	color: var(--gemini-purple);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}

.policy-toc a:hover {
	background: rgba(102, 57, 183, 0.12);
}

.policy-section + .policy-section {
	margin-top: 2rem;
}

.policy-section h2 {
	font-size: 1.35rem;
	line-height: 1.2;
	font-weight: 600;
	margin-bottom: 0.9rem;
	color: var(--gemini-navy);
}

.policy-section p,
.policy-section li {
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(32, 28, 62, 0.86);
}

.policy-section ul {
	padding-left: 1.25rem;
	margin-bottom: 0;
}

.auth-footer--static {
	position: static;
	margin-top: 2rem;
	padding-top: 0;
	background: none;
}

/* Responsive */
@media (max-width: 1199.98px) {
	.auth-container {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 1.5rem;
	}
}

@media (max-width: 767.98px) {
	.auth-container {
		padding: 1rem;
	}

	.logo,
	.policy-header .brand-logo {
		max-width: 200px;
	}

	.auth-card {
		padding: 1.4rem;
		border-radius: 24px;
	}

	.auth-footer {
		position: relative;
		bottom: auto;
		margin-top: 30px;
		padding-bottom: 20px;
	}
}