/* ============================================================
   AUTH PAGE  (Login + Register)
   auth.css
   ============================================================ */

.auth-page {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 480px;
    min-height: calc(100vh - 48px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 16px;
    gap: 40px;
    align-items: center;
}

/* ── DECO LEFT ──────────────────────────────────────────────── */
.auth-deco { padding: 40px; }

.auth-deco__logo {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(2.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    text-shadow:
        0 0 20px var(--teal),
        0 0 60px var(--teal-dim),
        2px 2px 0 #000;
    animation: pulse-logo 3s ease-in-out infinite;
}

.auth-deco__sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5em;
    color: var(--teal-dim);
    margin-bottom: 24px;
}

.auth-deco__tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 40px;
    border-left: 2px solid var(--teal);
    padding-left: 16px;
}

.auth-deco__stats {
    display: flex;
    gap: 32px;
}

.auth-deco__stat {
    display: flex;
    flex-direction: column;
}

.auth-deco__stat-num {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal);
    text-shadow: 0 0 12px var(--teal);
}

.auth-deco__stat-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* ── FORM RIGHT ─────────────────────────────────────────────── */
.auth-page__form { width: 100%; }

.auth-panel::before { display: none; }

/* ── TABS ───────────────────────────────────────────────────── */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--panel-border);
}

.auth-tab {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px;
    color: var(--text-dim);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.auth-tab.active  { color: var(--teal); border-bottom-color: var(--teal); }
.auth-tab:hover   { color: var(--text); }

/* ── FORM BODY ──────────────────────────────────────────────── */
.auth-form-body { padding: 24px; }

.auth-welcome {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
}

.auth-submit {
    width: 100%;
    padding: 12px;
    font-size: 0.82rem;
    margin-top: 4px;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-dim);
    cursor: pointer;
    margin-bottom: 0;
}

.auth-remember input[type="checkbox"] {
    accent-color: var(--teal);
}

.auth-remember--spaced {
    margin-bottom: 14px;
}

.auth-switch {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 16px;
}

.auth-switch a {
    color: var(--teal);
    cursor: pointer;
}

/* ── MESSAGE ────────────────────────────────────────────────── */
.auth-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.auth-message--success {
    background: rgba(0, 180, 160, 0.1);
    border: 1px solid rgba(0, 180, 160, 0.3);
    color: var(--teal);
}

.auth-message--error {
    background: rgba(200, 50, 50, 0.1);
    border: 1px solid rgba(200, 50, 50, 0.3);
    color: #ff7070;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-deco  { padding: 20px; text-align: center; }
    .auth-deco__stats   { justify-content: center; }
    .auth-deco__tagline { display: none; }
}
