/* =========================================
   1. GLOBAL RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Gradient mewah: Biru Gelap ke Merah Marun */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #450a0a 100%);
    padding: 20px;
}

/* =========================================
   2. CONTAINER & CARD
========================================= */
.login-container {
    width: 100%;
    max-width: 420px;
    perspective: 1000px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 45px 35px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
   3. TYPOGRAPHY (LOGO)
========================================= */
.logo {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.logo span {
    color: #b91c1c; /* Merah aksen */
    font-weight: 300;
}

.subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 35px;
}

/* =========================================
   4. FORM INPUTS
========================================= */
#loginForm input[type="email"],
#loginForm input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 18px;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    outline: none;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.3s ease;
}

#loginForm input:focus {
    border-color: #1e293b;
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 41, 59, 0.05);
}

/* =========================================
   5. ROLE SELECTION (TAMU vs ADMIN)
========================================= */
.role-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 10px 0 30px 0;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 15px;
}

.role-selection label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.role-selection label:hover {
    color: #1e293b;
}

.role-selection input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1e293b;
}

/* =========================================
   6. BUTTONS
========================================= */
/* Tombol Utama (Masuk) */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.3);
}

.btn-primary:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.4);
}

/* Divider */
.divider {
    margin: 25px 0;
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider::before { margin-right: 15px; }
.divider::after { margin-left: 15px; }

/* Tombol Daftar */
.btn-secondary {
    width: 100%;
    padding: 14px;
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* =========================================
   7. FOOTER
========================================= */
.footer-text {
    margin-top: 35px;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.5px;
}