:root {
            --primary: #e63946;
            --secondary: #552a2a;
            --success: #e76f51;
            --danger: #e63946;
            --warning: #f4a261;
            --info: #e63946;
            --purple: #9b5de5;
            --light: #fff5f5;
            --dark: #2b2d42;
            --gray-soft: #f0e8e8;
            --text-muted: #e1cece;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
        }

        body {
            background: linear-gradient(145deg, #fff5f5 0%, #f3e8e8 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-container {
            background: rgba(255, 255, 255, 0.96);
            border-radius: 24px;
            box-shadow: 0 12px 28px rgba(230, 57, 70, 0.12), 0 2px 4px rgba(0, 0, 0, 0.02);
            padding: 32px;
            width: 100%;
            max-width: 420px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(2px);
            transition: all 0.3s ease;
            border: 1px solid rgba(230, 57, 70, 0.1);
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--success), var(--warning));
            opacity: 0.8;
        }

        .login-header {
            text-align: center;
            margin-bottom: 28px;
        }

        .login-header h2 {
            color: var(--dark);
            font-size: 1.6rem;
            margin-bottom: 8px;
            font-weight: 500;
            letter-spacing: -0.3px;
        }

        .login-header p {
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 400;
        }

        /* Logo styling */
        .login-icon {
            width: 110px;
            height: 110px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 2.5rem;
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
            transition: transform 0.2s ease;
            padding: 12px;
        }

        .login-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 20px;
        }

        .login-icon:hover {
            transform: scale(1.02);
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
            font-size: 0.85rem;
            letter-spacing: 0.3px;
        }

        .input-with-icon {
            position: relative;
        }

        .input-with-icon i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #a7343d;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        .input-with-icon input {
            padding-left: 42px;
        }

        input {
            width: 100%;
            padding: 12px 14px;
            border: 1.5px solid var(--gray-soft);
            border-radius: 14px;
            font-size: 0.9rem;
            transition: all 0.25s ease;
            background-color: var(--light);
            color: var(--dark);
        }

        input:focus {
            outline: none;
            border-color: var(--primary);
            background-color: white;
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
        }

        input::placeholder {
            color: #d4a5a5;
            font-weight: 400;
        }

        /* Perbaikan tombol - HAPUS semua efek biru */
        .btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            letter-spacing: 0.3px;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #c1121f, #9b2226);
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
        }

        .btn-primary:active {
            background: linear-gradient(135deg, #c1121f, #9b2226);
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
        }

        /* Hilangkan outline biru bawaan browser */
        .btn-primary:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.3);
        }

        /* Untuk semua tombol, pastikan tidak ada warna biru */
        button:focus,
        button:active,
        .btn:focus,
        .btn:active {
            outline: none;
        }

        .alert {
            padding: 12px 16px;
            border-radius: 14px;
            margin-bottom: 20px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .alert-error {
            background-color: rgba(230, 57, 70, 0.12);
            color: #c1121f;
            border-left: 3px solid var(--danger);
        }

        .login-footer {
            text-align: center;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--gray-soft);
        }

        .login-footer a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
            font-size: 0.85rem;
        }

        .login-footer a i {
            color: var(--primary);
        }

        .login-footer a:hover {
            color: var(--secondary);
            gap: 8px;
        }

        .login-footer a:hover i {
            color: var(--secondary);
        }

        .password-toggle {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.95rem;
            padding: 6px;
            transition: color 0.2s ease;
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        /* Hilangkan outline biru pada password toggle */
        .password-toggle:focus {
            outline: none;
            color: var(--primary);
        }

        /* Animasi */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-container {
            animation: fadeInUp 0.5s ease-out;
        }

        @keyframes subtlePulse {
            0%, 100% {
                opacity: 0.7;
            }
            50% {
                opacity: 1;
            }
        }

        .login-container::before {
            animation: subtlePulse 3s ease-in-out infinite;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .login-container {
                padding: 24px 20px;
                max-width: 360px;
                border-radius: 20px;
            }
            .login-header h2 {
                font-size: 1.4rem;
            }
            .login-icon {
                width: 90px;
                height: 90px;
                border-radius: 24px;
            }
        }

        @media (max-width: 360px) {
            .login-container {
                padding: 20px 16px;
                max-width: 330px;
            }
            .login-header h2 {
                font-size: 1.3rem;
            }
            .login-icon {
                width: 80px;
                height: 80px;
                border-radius: 22px;
            }
        }

        /* Loading state */
        .btn-loading {
            position: relative;
            color: transparent;
        }

        .btn-loading::after {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* Efek halus untuk input */
        .form-group:focus-within label {
            color: var(--primary);
        }
 