.alert {
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }
        .alert-error {
            background-color: rgba(220, 53, 69, 0.9);
            color: white;
            border: 2px solid #c82333;
        }
        .alert-success {
            background-color: rgba(40, 167, 69, 0.9);
            color: white;
            border: 2px solid #28a745;
        }
        * {
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            background: linear-gradient(135deg, #0f1c47 0%, #1a2d5f 50%, #19255a 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow-x: hidden;
        }

        /* Background logo positioning */
        body::before {
            content: '';
            position: fixed;
            background: url('../img/bil.png') center/contain no-repeat;
            opacity: 0.50;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
            pointer-events: none;
            user-select: none;
            width: 600px;
            height: 600px;
        }

        .login-wrapper {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 480px;
            padding: 0;
            margin: auto;
        }

        .login-container {
            background: rgba(255, 255, 255, 0.55);
            padding: 28px 40px 24px;
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .login-header {
            margin-bottom: 16px;
        }

        .login-logo {
            width: 72px;
            height: 72px;
            object-fit: contain;
            display: block;
            margin: 0 auto 10px;
        }

        .login-header h1 {
            color: #0f1c47;
            font-size: 30px;
            margin: 0 0 4px 0;
            font-weight: 900;
            letter-spacing: 1px;
        }

        .login-header h1 .brand-z {
            color: #2563eb;
        }

        .login-header p {
            color: #1a2d5f;
            font-size: 13px;
            margin: 0;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .input-field {
            position: relative;
            margin-bottom: 14px;
            text-align: left;
        }

        .input-field label {
            display: block;
            color: #0f1c47;
            font-size: 12px;
            font-weight: 800;
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .input-field input {
            width: 100%;
            padding: 13px 44px 13px 15px;
            border: 2px solid #1a2d5f;
            border-radius: 8px;
            background-color: rgba(255, 255, 255, 0.95);
            color: #0f1c47;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .input-field input::placeholder {
            color: #999;
        }

        .input-field input:focus {
            outline: none;
            border-color: #2563eb;
            background-color: #fff;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .input-field .icon {
            position: absolute;
            top: 41px;
            right: 15px;
            color: #2563eb;
            font-size: 16px;
        }

        /* Password visibility toggle */
        .pwd-toggle {
            position: absolute;
            top: 38px;
            right: 38px;
            background: none;
            border: none;
            cursor: pointer;
            color: #1a2d5f;
            font-size: 14px;
            padding: 2px 4px;
            z-index: 2;
            line-height: 1;
        }
        .pwd-toggle:hover { color: #2563eb; }
        .pwd-toggle:focus { outline: none; }

        /* CAPTCHA */
        .captcha-field .captcha-question {
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.95);
            border: 2px solid #1a2d5f;
            border-radius: 8px;
            padding: 10px 15px;
            margin-bottom: 8px;
            font-size: 15px;
            font-weight: 700;
            color: #0f1c47;
            letter-spacing: .5px;
        }

        /* Biometric button */
        .biometric-btn {
            width: 100%;
            padding: 11px;
            background: rgba(15,28,71,0.08);
            border: 2px solid #1a2d5f;
            color: #0f1c47;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all .25s;
            letter-spacing: .5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .biometric-btn:hover {
            background: #0f1c47;
            color: #fff;
            border-color: #0f1c47;
        }
        .biometric-btn .fa-fingerprint { font-size: 18px; }

        .remember-me {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            font-size: 13px;
        }

        .remember-me label {
            display: flex;
            align-items: center;
            color: #0f1c47;
            font-weight: 700;
            cursor: pointer;
            margin: 0;
        }

        .remember-me input[type="checkbox"] {
            margin-right: 8px;
            cursor: pointer;
            accent-color: #2563eb;
        }

        .remember-me a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .remember-me a:hover {
            color: #0f1c47;
            text-decoration: underline;
        }

        .login-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #0f1c47 0%, #1a2d5f 100%);
            border: none;
            color: #fff;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .login-btn:hover {
            background: linear-gradient(135deg, #1a2d5f 0%, #0f1c47 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(15, 28, 71, 0.3);
        }

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

        .footer {
            position: fixed;
            bottom: 20px;
            width: 100%;
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            z-index: 1;
        }

        .footer span {
            display: block;
            line-height: 1.6;
        }

        .footer strong {
            color: #2563eb;
        }

        /* Tablet responsiveness */
        @media (max-width: 768px) {
            body::before {
                width: 500px;
                height: 500px;
                opacity: 0.68;
            }

            .login-wrapper {
                max-width: 100%;
                padding: 20px;
            }

            .login-container {
                padding: 22px 30px 20px;
            }

            .login-header h1 {
                font-size: 26px;
                margin-bottom: 4px;
            }

            .input-field input {
                font-size: 14px;
            }

            .remember-me {
                font-size: 12px;
                margin-bottom: 12px;
            }

            .login-btn {
                padding: 11px;
                font-size: 13px;
            }

            .footer {
                bottom: 15px;
                font-size: 11px;
            }
        }

        /* Mobile responsiveness */
        @media (max-width: 480px) {
            body {
                padding: 16px;
                min-height: 100vh;
            }

            body::before {
                width: 400px;
                height: 400px;
                opacity: 0.68;
            }

            .login-wrapper {
                max-width: 100%;
                padding: 12px;
            }

            .login-container {
                padding: 20px 18px 18px;
                border-radius: 12px;
            }

            .login-header {
                margin-bottom: 12px;
            }

            .login-header h1 {
                font-size: 22px;
                margin-bottom: 3px;
            }

            .login-header p {
                font-size: 12px;
            }

            .input-field {
                margin-bottom: 11px;
            }

            .input-field label {
                font-size: 11px;
                margin-bottom: 5px;
            }

            .input-field input {
                padding: 11px 40px 11px 13px;
                font-size: 14px;
                border-radius: 6px;
            }

            .input-field .icon {
                top: 38px;
                right: 12px;
                font-size: 14px;
            }

            .pwd-toggle {
                top: 35px;
                right: 34px;
            }

            .remember-me {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                font-size: 11px;
                margin-bottom: 10px;
            }

            .login-btn {
                padding: 11px;
                font-size: 13px;
                letter-spacing: 0.5px;
            }

            .footer {
                bottom: 10px;
                font-size: 10px;
            }

            .footer span {
                line-height: 1.4;
            }
        }

        /* Very small screens */
        @media (max-width: 360px) {
            body::before {
                width: 300px;
                height: 300px;
                opacity: 0.68;
            }

            .login-container {
                padding: 18px 14px 16px;
            }

            .login-header h1 {
                font-size: 20px;
            }

            .input-field input {
                padding: 10px 38px 10px 12px;
                font-size: 13px;
            }

            .login-btn {
                padding: 10px;
                font-size: 12px;
            }
        }
