/* Shared auth (signup/login) styling aligned with F-01 "After" mockup. */

.auth-wrap {
	min-height: calc(100vh - 60px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.auth-card {
	width: 100%;
	max-width: 440px;
	background: var(--bg-surface);
	border-radius: var(--radius-lg);
	padding: 36px 32px 32px;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border);
}
.auth-card .step-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 6px;
}
.auth-card h1 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.25;
	color: var(--text);
}
.auth-card .subtitle {
	color: var(--text-muted);
	font-size: 14px;
	margin: 0 0 22px;
	line-height: 1.5;
}
.auth-card .subtitle.subtitle-tight {
	margin-bottom: 14px;
}
.auth-card .subtitle .dot-sep {
	color: var(--gray-300);
	margin: 0 4px;
}
.auth-card .subtitle .not-you {
	color: var(--text-muted);
	text-decoration: underline;
	font-weight: 500;
}
.auth-card .subtitle .not-you:hover { color: var(--text); }
.auth-card .subtitle #resendLink {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}
.auth-card .subtitle #resendLink.disabled {
	color: var(--text-faint);
	pointer-events: none;
	cursor: default;
	font-weight: 500;
}

.auth-card .brand-email {
	color: var(--primary);
	word-break: break-all;
}

/* Inline terms under CTA (F-08) */
.inline-terms {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
	margin: 0 0 4px;
	text-align: center;
}
.inline-terms a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}
.inline-terms a:hover { text-decoration: underline; }

.auth-toggle {
	text-align: center;
	margin-top: 18px;
	font-size: 14px;
	color: var(--text-muted);
}
.auth-toggle a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-toggle a:hover { text-decoration: underline; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Spam-check hint */
.spam-hint {
	padding: 12px 16px;
	background: var(--warn-bg);
	border: 1px solid #fcd34d;
	border-radius: 10px;
	font-size: 13px;
	color: #78350f;
	line-height: 1.55;
	margin-bottom: 18px;
}
.spam-hint strong { font-weight: 700; }

/* 6-box code entry */
.code-boxes {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	margin: 10px 0 18px;
}
.code-box {
	height: 56px;
	width: 100%;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	border: 2px solid var(--gray-200);
	border-radius: 10px;
	background: var(--bg-surface);
	color: var(--text);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	padding: 0;
	-moz-appearance: textfield;
	box-sizing: border-box;
}
.code-box:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(79,70,229,0.14);
	background: var(--primary-light, #eef2ff);
}
.code-box::-webkit-outer-spin-button,
.code-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 420px) {
	.code-box { height: 48px; font-size: 22px; }
	.code-boxes { gap: 6px; }
}

.code-footnote {
	text-align: center;
	margin: 14px 0 0;
	font-size: 12px;
	color: var(--text-faint);
}

.hidden { display: none !important; }

/* Dev password-mode (login) */
.auth-card .dev-banner {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--warn-bg);
	color: #92400e;
	border-radius: 6px;
}
