/* ========== Auth Pages (Login & Signup) ========== */

.auth-box {
    max-width: 420px;
    margin: 40px auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,.6);
}

.auth-box h2 {
    margin-top: 0; margin-bottom: 16px;
    font-size: 1.5rem; font-weight: 600; text-align: center; color: var(--text);
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }

/* Inputs */
.auth-form input {
    width: 100%;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(47,111,237,.4);
}

/* Labels */
.auth-form label { font-size: .9rem; color: var(--muted); margin-bottom: 2px; }

/* Primary button (scoped to auth pages) */
.auth-form .primary {
    background: var(--accent); color: #fff; border: none;
    border-radius: 8px; padding: 8px 14px; cursor: pointer;
}

/* Minor utilities (scoped here to avoid global css) */
.mt-12 { margin-top: 12px; }
.w-full { width: 100%; }

.auth-box a {
    color: var(--accent); font-weight: 500; text-decoration: none; transition: opacity .2s;
}
.auth-box a:hover { opacity: .8; }

.auth-box .muted-text,
.auth-box p {
    font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center;
}
