/* ============================================================
   Telas de autenticação — split layout premium
   ============================================================ */

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth__aside {
    background: var(--sidebar);
    color: #fff;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
/* Atmosfera: malha radial sutil, sem cara de template */
.auth__aside::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 20% 10%, rgb(37 99 235 / 0.35), transparent 60%),
        radial-gradient(500px 400px at 90% 90%, rgb(16 185 129 / 0.18), transparent 60%);
    pointer-events: none;
}
.auth__aside::after {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000, transparent);
    pointer-events: none;
}
.auth__brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.auth__brand .sidebar__logo { width: 42px; height: 42px; font-size: 20px; }
.auth__brand-name { font-size: 18px; font-weight: 600; }
.auth__brand-sub { font-size: 12px; color: #94a3b8; }

.auth__pitch { position: relative; z-index: 1; max-width: 440px; }
.auth__pitch h2 { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 16px; }
.auth__pitch p { color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.auth__features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.auth__features li { display: flex; align-items: center; gap: 12px; color: #e2e8f0; font-size: 14px; }
.auth__features i { width: 18px; height: 18px; color: #34d399; }

.auth__footer-note { position: relative; z-index: 1; color: #64748b; font-size: 12.5px; }

.auth__main {
    display: flex; align-items: center; justify-content: center;
    padding: 40px; background: var(--bg);
}
.auth__form-wrap { width: 100%; max-width: 380px; }
.auth__form-wrap h1 { font-size: 24px; margin-bottom: 6px; }
.auth__form-wrap .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.auth__theme-toggle { position: absolute; top: 24px; right: 24px; }

.auth__alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }
.auth__alt a { color: var(--primary); font-weight: 500; }
.auth__alt a:hover { text-decoration: underline; }

.auth__forgot-link { text-align: right; margin-top: -8px; margin-bottom: 18px; }
.auth__forgot-link a { font-size: 13px; color: var(--primary); }
.auth__forgot-link a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
}
