﻿/* =========================
   LOGIN (page specific)
   ========================= */

.shell {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 18px;
}

.grid {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 14px;
    align-items: stretch;
}

/* brand top */
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
    position: relative;
    z-index: 1;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: .3px;
    flex: 0 0 auto;
}

.brand h1 {
    margin: 0;
    font-size: 14px;
    line-height: 1.15;
}

.brand p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* left hero */
.hero {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    border: var(--border);
    background: rgba(0,0,0,.14);
    position: relative;
    z-index: 1;
}

    .hero h2 {
        margin: 0;
        font-size: 28px;
        letter-spacing: .2px;
    }

    .hero .sub {
        margin-top: 8px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
    }

/* KPI cards */
.kpis {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    position: relative;
    z-index: 1;
}

.kpi {
    padding: 12px;
    border-radius: 16px;
    border: var(--border);
    background: rgba(255,255,255,.03);
}

    .kpi .label {
        font-size: 12px;
        color: var(--muted)
    }

    .kpi .value {
        margin-top: 6px;
        font-size: 16px;
        font-weight: 900
    }

/* bullets */
.bullets {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.bullet {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    border: var(--border);
    background: rgba(0,0,0,.12);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 4px;
}

    .dot.ok {
        background: var(--ok)
    }

    .dot.warn {
        background: var(--warn)
    }

    .dot.accent {
        background: var(--accent2)
    }

.bullet strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px
}

.bullet p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35
}

/* right panel */
.panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.panel-head {
    padding: 14px;
    border-radius: 18px;
    border: var(--border);
    background: rgba(255,255,255,.03);
}

    .panel-head h3 {
        margin: 0;
        font-size: 16px
    }

    .panel-head small {
        display: block;
        margin-top: 6px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
    }

form {
    padding: 14px;
    border-radius: 18px;
    border: var(--border);
    background: rgba(0,0,0,.14);
}

.providers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.hint {
    padding: 12px;
    border-radius: 16px;
    border: var(--border);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* responsive */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .shell {
        padding: 12px;
    }

    .card {
        padding: 14px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .providers {
        grid-template-columns: 1fr;
    }
}
