@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;800&display=swap');

body {
    background-color: #020617; 
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh;
}

.card {
    background: #1e293b; 
    padding: 25px; 
    border-radius: 20px;
    width: 90%; 
    max-width: 380px; 
    border: 1px solid #334155;
    box-sizing: border-box;
}

h2 { color: white; font-weight: 800; font-size: 18px; margin-bottom: 20px; text-align: center; }

label { 
    color: #94a3b8; 
    font-size: 10px; 
    font-weight: 800; 
    display: block; 
    margin-bottom: 5px; 
    margin-top: 15px; 
    text-transform: uppercase;
}

input {
    width: 100%; 
    padding: 14px; 
    border-radius: 12px; 
    border: 1px solid #334155;
    background: #0f172a; 
    color: white; 
    font-weight: 800; 
    box-sizing: border-box;
    font-size: 14px;
}

.up-case { text-transform: uppercase; }

/* Grid Asal (EBFC) */
.grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
}

/* Hub & Route Grid */
.header-grid {
    display: grid;
    grid-template-columns: 1fr; /* Portrait: 1 kolum */
    gap: 0;
}

button {
    width: 100%; 
    padding: 16px; 
    border-radius: 15px; 
    border: none;
    background: #38bdf8; 
    color: #020617; 
    font-weight: 800; 
    margin-top: 25px; 
    cursor: pointer;
}

.back-nav { text-decoration: none; color: #38bdf8; font-size: 11px; font-weight: 800; }

/* --- LANDSCAPE MODE: TOTAL FIX --- */
@media (orientation: landscape) {
    .card { 
        max-width: 700px; 
        padding: 20px 30px;
    }

    /* Paksa Hub & Route jadi sebaris */
    .header-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* Paksa E, B, F, C jadi sebaris (4 kolum) */
    .grid { 
        grid-template-columns: 1fr 1fr 1fr 1fr !important; 
        margin-top: 5px;
    }

    button { 
        width: 50%;
        margin: 20px auto 0 auto;
        display: block;
    }
}
