/* ══════════════════════════════════════════════════════════════════════════
   SHARED CARD — Tampilan kartu untuk layar Masuk dan layar Sambutan.

   Dulu aturan di bawah menyasar `body` langsung karena login.html dan
   tryout.html adalah halaman terpisah. Sejak ketiga tahap digabung ke satu
   dokumen (index.html) demi menjaga fullscreen tetap menyala, aturan ini
   dipersempit ke .vm-auth-shell — kalau tidak, latar hijau dan flex-centering
   ikut mengubah tata letak inbox.
   ══════════════════════════════════════════════════════════════════════════ */

.vm-auth-shell, .vm-auth-shell *, .vm-auth-shell *::before, .vm-auth-shell *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vm-auth-shell {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #1b4332;
    font-family: Arial, sans-serif;
    padding: 16px;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* ── HEADER ── */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.brand-logo {
    width: 44px;
    height: 44px;
    background: #1b4332;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.brand-text .name {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e1f;
    line-height: 1.2;
}
.brand-text .sub {
    font-size: 12px;
    color: #6b7c74;
    margin-top: 2px;
}

/* ── WELCOME ── */
.welcome h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2e1f;
    margin-bottom: 6px;
}
.welcome p {
    font-size: 14px;
    color: #6b7c74;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ── FORM ── */
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #4a5e52;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d4dfd7;
    border-radius: 9px;
    font-size: 15px;
    color: #1a2e1f;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    background: #fafdfa;
}
.field input:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
    background: #fff;
}
.field input::placeholder { color: #b0c0b8; }

/* ── ERROR ── */
.error-msg {
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    font-size: 13px;
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 14px;
    display: none;
}
.error-msg.show { display: block; }

/* ── SPINNER ── */
.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2.5px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -3px;
    margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
.footer-note {
    text-align: center;
    font-size: 12px;
    color: #9ab0a4;
    margin-top: 20px;
}