/* ==========================================================================
   AIpost Auth — Variant A4 · Contrast
   Login, forgot password, reset password pages.
   Builds on admin.css (tokens, .btn, .form-control, .alert).
   ========================================================================== */

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 10%, rgba(45, 179, 163, .10), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(45, 179, 163, .08), transparent 40%),
        var(--canvas);
}

.auth-shell {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 22px auto 0;
    color: var(--teal-700);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease, transform .15s ease;
}
.auth-back i { font-size: 1.15rem; line-height: 1; }
.auth-back:hover {
    color: var(--teal-900);
    transform: translateX(-2px);
}

.auth-shell { text-align: center; }
.auth-shell > .auth-card,
.auth-shell > .auth-brand { text-align: initial; }

.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-brand svg { height: 32px; width: auto; }

.auth-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--slate-500);
    text-align: center;
    margin-bottom: 24px;
}

.auth-card .form-control { padding: 10px 12px; font-size: 14px; }
.auth-card .form-label { font-size: 12.5px; }

.auth-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 14px;
    margin-top: 4px;
}

.auth-links {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-100);
}
.auth-links a {
    font-size: 13px;
    color: var(--teal-700);
    font-weight: 500;
    transition: color .12s ease;
}
.auth-links a:hover { color: var(--teal-900); }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--slate-500);
}

.form-error {
    display: block;
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
}

@media (max-width: 480px) {
    .auth-card { padding: 24px 20px; }
    .auth-brand svg { height: 28px; }
}
