/* ==========================================================================
   ui-auth.css — penyempurnaan tampilan halaman masuk / daftar (login.php)
   --------------------------------------------------------------------------
   Dimuat setelah style.css. Panel kiri (auth-hero) sudah dihapus, jadi
   halaman login kembali menjadi SATU kartu di tengah layar dengan logo di
   dalam kartu. File ini hanya merapikan jarak, tipografi, dan responsif.
   ========================================================================== */

body.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

/* Wadah halaman login memakai lebar yang sama dengan halaman lain (1120px).
   Kartu formulir tetap di tengah agar tetap nyaman dibaca. */
.auth-shell {
    width: 100%;
    max-width: 1120px;
    max-width: var(--wrap, 1120px);
    margin: 0 auto;
}

.auth-shell .auth-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 34px 32px 26px;
}

/* Logo di dalam kartu form. */
.auth-brand {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.auth-brand img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.auth-shell .auth-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.2px;
    text-align: left;
    color: var(--text);
}

.auth-subtitle {
    margin: 6px 0 20px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-dim);
    text-align: left;
}

.auth-shell .auth-card label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.auth-shell .auth-card input[type="text"],
.auth-shell .auth-card input[type="password"] {
    height: 44px;
    border-radius: 10px;
}

.auth-shell .auth-card button[type="submit"] {
    height: 44px;
    margin-top: 6px;
    border-radius: 10px;
    font-weight: 700;
}

.auth-shell .auth-alert,
.auth-shell .auth-ok,
.auth-shell .auth-note {
    margin-bottom: 16px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.55;
}

.auth-shell .auth-switch {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-dim);
    text-align: left;
}

.auth-shell .auth-alt {
    height: 40px;
    border-radius: 10px;
    font-weight: 600;
}

.auth-shell .auth-foot {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 10.5px;
    line-height: 1.6;
    color: var(--text-faint);
    text-align: left;
}

/* ---------------------------------------------------------------- responsif */

@media (max-width: 480px) {
    body.auth-body { padding: 0; }

    .auth-shell {
        width: 100%;
        min-height: 100vh;
        align-content: center;
    }

    .auth-shell .auth-card {
        padding: 28px 22px 24px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-brand img { height: 34px; }
    .auth-shell .auth-title { font-size: 19px; }
}

/* -------------------------------------------------------------------- cetak */

@media print {
    .auth-shell { box-shadow: none; }
}
