/**
 * LitforIndia Tests — Public (front-end) Styles
 *
 * Scoped to .lit-login-shell and .lit-placeholder so it never bleeds
 * into the surrounding WordPress theme.
 */

.lit-login-shell {
	--lit-navy: #0B1F3A;
	--lit-navy-2: #142a4d;
	--lit-gold: #C9A24B;
	--lit-cream: #FAF6EE;
	--lit-ink: #1d2330;
	--lit-muted: #6b7280;
	--lit-border: #e6e2d8;
	--lit-error-bg: #fdecea;
	--lit-error-fg: #8a1c13;
	--lit-error-border: #f5c2bd;
	--lit-radius: 12px;
	--lit-shadow: 0 18px 50px -22px rgba(11, 31, 58, 0.35);

	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	padding: 48px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--lit-ink);
	background:
		radial-gradient(ellipse at top, rgba(201, 162, 75, 0.08), transparent 55%),
		radial-gradient(ellipse at bottom, rgba(11, 31, 58, 0.05), transparent 55%),
		var(--lit-cream);
}

.lit-login-card {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border: 1px solid var(--lit-border);
	border-radius: var(--lit-radius);
	box-shadow: var(--lit-shadow);
	padding: 40px 36px 32px;
	box-sizing: border-box;
}

.lit-login-logo {
	display: block;
	max-height: 48px;
	width: auto;
	margin: 0 auto 16px;
}

.lit-login-brand {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--lit-navy);
	letter-spacing: 0.02em;
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--lit-border);
}

.lit-login-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	font-weight: 600;
	color: var(--lit-navy);
	margin: 0 0 6px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.lit-login-subtitle {
	font-size: 14px;
	color: var(--lit-muted);
	margin: 0 0 24px;
	line-height: 1.5;
}

.lit-login-error {
	background: var(--lit-error-bg);
	color: var(--lit-error-fg);
	border: 1px solid var(--lit-error-border);
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 18px;
	line-height: 1.4;
}

.lit-login-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lit-login-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lit-login-field span {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lit-navy);
}

.lit-login-field input[type="text"],
.lit-login-field input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	font-size: 15px;
	font-family: inherit;
	color: var(--lit-ink);
	background: #fff;
	border: 1.5px solid var(--lit-border);
	border-radius: 6px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
}

.lit-login-field input:focus {
	outline: none;
	border-color: var(--lit-navy);
	box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.12);
}

.lit-login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--lit-muted);
	cursor: pointer;
	user-select: none;
}

.lit-login-remember input {
	accent-color: var(--lit-navy);
	margin: 0;
}

.lit-login-button {
	display: inline-block;
	width: 100%;
	padding: 12px 20px;
	margin-top: 4px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.01em;
	color: #fff;
	background: var(--lit-navy);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
}

.lit-login-button:hover,
.lit-login-button:focus {
	background: var(--lit-navy-2);
	color: #fff;
}

.lit-login-button:active {
	transform: translateY(1px);
}

.lit-login-helper {
	margin: 12px 0 0;
	text-align: center;
	font-size: 13px;
}

.lit-login-helper a {
	color: var(--lit-navy);
	text-decoration: none;
	border-bottom: 1px dotted rgba(11, 31, 58, 0.35);
	padding-bottom: 1px;
}

.lit-login-helper a:hover {
	color: var(--lit-gold);
	border-bottom-color: var(--lit-gold);
}

.lit-login-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	margin-top: 20px;
}

.lit-login-link {
	display: inline-block;
	text-align: center;
	font-size: 13px;
	color: var(--lit-muted);
	text-decoration: none;
	padding: 6px;
}

.lit-login-link:hover {
	color: var(--lit-navy);
}

/* Placeholder for stage 3+ shortcodes */
.lit-placeholder {
	max-width: 640px;
	margin: 32px auto;
	padding: 32px 36px;
	background: #fff;
	border: 1px solid #e6e2d8;
	border-left: 3px solid #C9A24B;
	border-radius: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lit-placeholder h2 {
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #0B1F3A;
	margin: 0 0 8px;
}

.lit-placeholder p {
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
	margin: 0 0 8px;
}

.lit-placeholder-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #C9A24B;
	font-weight: 600;
	margin-top: 12px !important;
}

/* Small screens */
@media (max-width: 480px) {
	.lit-login-card {
		padding: 28px 22px 24px;
	}
	.lit-login-title {
		font-size: 22px;
	}
}
