/* The Return Period: sign-in, registration and account pages */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--off-white); }
.auth-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px; max-width: 440px; width: 100%; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 480px; }
.auth-logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; text-decoration: none; display: block; }
.auth-logo span { color: var(--teal); }
.auth-card h1 { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.auth-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.form-field { margin-bottom: 16px; }
.form-field label { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); display: block; margin-bottom: 5px; }
.form-field input, .form-field select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; color: var(--text); font-family: var(--font-sans); transition: border-color 0.2s; box-sizing: border-box; background: #fff; }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 0.75rem; color: var(--teal); text-decoration: none; font-weight: 600; }
.label-row a:hover { text-decoration: underline; }
.btn-auth { width: 100%; background: var(--navy); color: #fff; border: none; padding: 12px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: background 0.2s; margin-top: 8px; font-family: var(--font-sans); text-align: center; text-decoration: none; display: block; box-sizing: border-box; }
.btn-auth:hover { background: var(--teal); }
.auth-error { background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.3); color: #c0392b; border-radius: var(--radius); padding: 10px 14px; font-size: 0.84rem; margin-bottom: 18px; line-height: 1.5; }
.auth-success { background: rgba(27,143,138,0.07); border: 1px solid rgba(27,143,138,0.3); color: var(--navy); border-radius: var(--radius); padding: 12px 14px; font-size: 0.86rem; margin-bottom: 18px; line-height: 1.6; }
.auth-divider { text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-top: 20px; }
.auth-divider a { color: var(--teal); text-decoration: none; font-weight: 600; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } .auth-card { padding: 28px 20px; } }
