/* BaselineHQ — Auth Pages */

body {
    margin: 0; padding: 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 40%, #0d2847 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 80, 186, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 80, 186, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ── Card Container ── */
.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

/* ── Brand ── */
.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-brand a {
    font-family: var(--font-display, 'Transducer', sans-serif);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #fff 0%, #a8c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Glassmorphism Form Card ── */
.auth-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}
.auth-form h1 {
    color: #fff;
    font-family: var(--font-display, 'Transducer', sans-serif);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    text-align: center;
}
.auth-form p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* Centered text modifier (password reset done/complete pages) */
.auth-form-centered {
    text-align: center;
}
.auth-form-centered h1 {
    margin-bottom: 1rem;
}
.auth-form-centered p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Dark-Theme Form Input Overrides ── */
.auth-form .form-group { margin-bottom: 1.15rem; }
.auth-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.auth-form .form-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.auth-form .form-input:focus {
    outline: none;
    border-color: #0050ba;
    box-shadow: 0 0 0 3px rgba(0, 80, 186, 0.25);
    background: rgba(255, 255, 255, 0.1);
}
.auth-form .form-input::placeholder { color: rgba(255,255,255,0.3); }
.auth-form .form-help {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.3rem;
}
.auth-form .form-error {
    font-size: 0.78rem;
    color: #ff6b6b;
    margin-top: 0.3rem;
}

/* Invalid link message (password reset confirm) */
.auth-form .invalid-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
}
.auth-form .invalid-link a {
    color: #a8c8ff;
    text-decoration: none;
    font-weight: 600;
}

/* ── Buttons ── */
.auth-btn {
    width: 100%;
    padding: 0.75rem;
    font-family: var(--font-display, 'Transducer', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #0050ba, #0070ff);
    color: #fff;
    margin-top: 0.5rem;
    transition: transform 0.15s, box-shadow 0.15s;
}
.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 80, 186, 0.4);
}

/* Inline button modifier (for <a> links styled as buttons) */
.auth-btn-inline {
    display: inline-block;
    width: auto;
    padding: 0.75rem 2rem;
    text-decoration: none;
}

/* ── Footer ── */
.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.auth-footer a {
    color: #a8c8ff;
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { color: #fff; }

/* ── Messages ── */
.auth-messages {
    margin-bottom: 1rem;
}
.auth-messages .alert {
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff9b9b;
}
.auth-messages .alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .auth-card { margin: 1rem 0.75rem; }
    .auth-form { padding: 1.5rem 1.25rem; }
    .auth-brand a { font-size: 1.6rem; }
}
