        :root {
            --primary-red: #DA251D;    /* Merah Bendera Timor Leste */
            --dark-bg: #1C1C1C;        /* Hitam */
            --accent-gold: #FFC20E;    /* Kuning Emas */
            --text-light: #e4e6eb;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            padding: 0;
            height: 100vh;
            overflow: hidden;
            background-color: #f4f6f9;
        }

        .login-container {
            display: flex;
            height: 100vh;
            width: 100%;
        }

        /* === Sisi Kiri (Branding) === */
        .brand-side {
            flex: 1.2;
            background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            position: relative;
            overflow: hidden;
            border-right: 6px solid var(--accent-gold);
        }

        .brand-side::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(218, 37, 29, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 194, 14, 0.15) 0%, transparent 40%);
            pointer-events: none;
        }

        .brand-content {
            z-index: 1;
            text-align: center;
            padding: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .brand-logo-wrapper {
            width: 140px;
            height: 140px;
            background: white;
            border-radius: 50%;
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
            border: 4px solid var(--accent-gold);
        }

        .brand-logo-wrapper i {
            font-size: 4rem;
            color: var(--primary-red);
        }

        .brand-title {
            font-size: 3.5rem;
            font-weight: 700;
            letter-spacing: 4px;
            margin-bottom: 15px;
            color: white;
        }

        .brand-subtitle {
            font-size: 1.1rem;
            color: var(--accent-gold);
            margin-bottom: 5px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .brand-desc {
            font-size: 0.95rem;
            color: rgba(255,255,255,0.7);
            font-weight: 300;
            max-width: 400px;
        }

        .accent-line {
            width: 80px;
            height: 4px;
            background: var(--primary-red);
            margin: 25px auto;
            border-radius: 2px;
        }

        .brand-footer {
            position: absolute;
            bottom: 30px;
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.3);
        }

        /* === Sisi Kanan (Form) === */
        .form-side {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #ffffff;
            padding: 2rem;
            position: relative;
        }

        .login-form-wrapper {
            width: 100%;
            max-width: 400px;
            animation: fadeIn 1s ease-out;
        }

        .login-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .login-header h2 {
            font-weight: 700;
            color: var(--dark-bg);
            font-size: 1.9rem;
            margin-bottom: 10px;
        }

        .login-header p {
            color: #6c757d;
            font-size: 0.95rem;
        }

        /* Form Styling */
        .form-group {
            position: relative;
            margin-bottom: 1.8rem;
        }

        .form-group .icon-input {
            position: absolute;
            top: 50%;
            left: 16px;
            transform: translateY(-50%);
            color: #adb5bd;
            font-size: 1.1rem;
            z-index: 2;
            transition: color 0.3s;
        }

        .form-control {
            height: 55px;
            padding-left: 50px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #f8f9fa;
        }

        .form-control:focus {
            border-color: var(--primary-red);
            box-shadow: 0 0 0 0.2rem rgba(218, 37, 29, 0.1);
            background-color: #fff;
        }

        .form-control:focus + .icon-input {
            color: var(--primary-red);
        }

        /* Tombol Login */
        .btn-login {
            width: 100%;
            height: 55px;
            background: var(--primary-red);
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(218, 37, 29, 0.3);
        }

        .btn-login:hover {
            background: #b81e17;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(218, 37, 29, 0.4);
            color: white;
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .forgot-link {
            font-size: 0.9rem;
            color: var(--dark-bg);
            text-decoration: none;
            font-weight: 600;
        }

        .forgot-link:hover {
            color: var(--primary-red);
        }

        /* Django Messages Alert Styling */
        .django-messages {
            margin-bottom: 20px;
        }
        .alert {
            border-radius: 10px;
            font-size: 0.9rem;
        }
        .alert-error, .alert-danger {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            .brand-side { display: none; }
            .form-side { background: #f4f6f9; }
        }

        /* Animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }