/* ===== Couleurs du logo Resolute ===== */
        :root {
            --resolute-yellow: #F4B41A;
            /* Jaune du logo */
            --resolute-blue: #1B4168;
            /* Bleu marine du logo */
            --light-yellow: #FDD968;
            --dark-blue: #0F2D4A;
            --white: #ffffff;
            --gray-light: #f8f9fa;
        }

        body {
            background-color: var(--resolute-blue);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Arial, sans-serif;
            padding-top: 80px;
        }

        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 20px;
            background-color: var(--white);
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            font-size: 18px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-bottom: 3px solid var(--resolute-yellow);
        }

        .top-bar a {
            color: var(--resolute-blue);
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .top-bar a:hover {
            color: var(--resolute-yellow);
        }

        .logo img {
            height: 50px;
        }

        .login-container {
            background: var(--white);
            padding: 35px;
            border-radius: 16px;
            max-width: 420px;
            width: 95%;
            text-align: center;
            color: var(--resolute-blue);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

            animation: fadeIn 1s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        h2 {
            margin-bottom: 20px;
            font-weight: 700;
            color: var(--resolute-blue);
        }

        .form-control {
            margin-bottom: 15px;
            padding: 12px;
            font-size: 16px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            transition: all 0.3s ease;
            background-color: var(--white);
        }

        .form-control:focus {
            border-color: var(--resolute-yellow);
            box-shadow: 0 0 0 0.2rem rgba(244, 180, 26, 0.25);
            outline: none;
            background-color: var(--white);
        }

        .btn-valider {
            background-color: var(--resolute-yellow);
            color: var(--resolute-blue);
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            width: 100%;
            font-weight: bold;
            font-size: 16px;
        }

        .btn-valider:hover {
            background-color: var(--light-yellow);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(244, 180, 26, 0.4);
        }

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

        .toggle-eye {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 18px;
            color: #666;
            transition: color 0.3s ease;
        }

        .toggle-eye:hover {
            color: var(--resolute-yellow);
        }

        .links {
            margin-top: 15px;
            font-size: 0.9rem;
        }

        .links a {
            color: var(--resolute-blue);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .links a:hover {
            color: var(--resolute-yellow);
        }

        /* Style pour le label du captcha */
        #captchaQuestion {
            font-size: 16px;
            color: var(--resolute-blue);
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
        }

        /* Style pour le feedback du captcha */
        #captchaFeedback {
            color: #dc3545;
            font-size: 14px;
            margin-top: -10px;
            margin-bottom: 15px;
        }

        @media (max-width: 576px) {
            .login-container {
                padding: 25px;
                border-left-width: 4px;
            }

            .top-bar {
                border-left-width: 3px;
            }

            h2 {
                font-size: 1.3rem;
            }
        }