/* ==========================================================================
   auth.css - Halaman Login / Registrasi Akun Mahasiswa
   Membungkus area form di tengah dengan flex override pada body
   ========================================================================== */

body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    margin: 20px;
}

/* Sidebar Kiri (Branding) */
.auth-branding {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.auth-branding::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(116, 185, 255, 0.1);
    border-radius: 50%;
}

.auth-branding::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(85, 239, 196, 0.1);
    border-radius: 50%;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.brand-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.brand-features {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.brand-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.brand-features li i {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 12px;
}

/* Form Kanan */
.auth-form-area {
    padding: 50px 40px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-floating {
    margin-bottom: 16px;
}

.form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 16px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #74b9ff;
    box-shadow: 0 0 0 0.2rem rgba(116, 185, 255, 0.15);
}

.form-floating > label {
    padding: 16px;
    color: #b2bec3;
}

.btn-auth {
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.2s;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.toggle-text {
    color: #636e72;
    font-size: 0.9rem;
}

.toggle-text a {
    color: #74b9ff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.toggle-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-container { flex-direction: column; margin: 10px; }
    .auth-branding { width: 100%; padding: 30px; text-align: center; }
    .brand-features { display: none; }
    .auth-form-area { width: 100%; padding: 30px 20px; }
}