/* Page styles extracted from views/pages/auth/login.php. */

.auth-page {
    padding: 48px 0 64px;
}

.auth-shell {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: stretch;
}

.auth-showcase,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.auth-showcase {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(96,165,250,0.16), transparent 34%),
        radial-gradient(circle at left bottom, rgba(37,99,235,0.10), transparent 28%),
        linear-gradient(180deg, #ffffff, #fbfdff);
    padding: 34px;
}

.auth-showcase h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 680px;
}

.auth-showcase p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 560px;
}

.auth-points {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.auth-points div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.auth-preview {
    margin-top: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #0f172a, #111827);
    color: #f8fbff;
    padding: 20px;
}

.auth-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.auth-mini-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-preview-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 16px;
}

.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.auth-stat {
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    padding: 12px;
}

.auth-stat small {
    display: block;
    color: #cbd5e1;
    margin-bottom: 4px;
    font-weight: 700;
}

.auth-stat strong {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.auth-widget-preview {
    margin-top: 12px;
    border-radius: 18px;
    background: white;
    color: #111827;
    padding: 14px;
}

.auth-widget-preview .badge-lite {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-card {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    padding: 34px;
}

.auth-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    letter-spacing: -0.03em;
}

.auth-card > p {
    color: var(--muted);
    margin-bottom: 20px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    font: inherit;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: rgba(37,99,235,0.45);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.auth-subtle-link {
    color: var(--muted);
    text-decoration: none;
}

.auth-subtle-link:hover {
    color: var(--text);
}

.alert-error {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-error ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 920px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-stats {
        grid-template-columns: 1fr;
    }
}
