
        :root {
            --primary-color: #007a33; /* Vert du logo */
            --primary-dark: #005a25; /* Vert foncé */
            --primary-light: #009940; /* Vert clair */
            --secondary-color: #ffdd00; /* Jaune du logo */
            --secondary-light: #ffea80; /* Jaune clair */
            --secondary-dark: #e6c700; /* Jaune foncé */
            --accent-color: #e30613; /* Rouge du logo */
            --accent-light: #ff3643; /* Rouge clair */
            --light-color: #fff; /* Blanc */
            --dark-color: #0f2633; /* Bleu foncé presque noir du texte */
            --gray-color: #f5f5f5; /* Gris très clair */
        }
        
        body {
            background-color: var(--secondary-color);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-image: 
                radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3) 0%, transparent 25%),
                radial-gradient(circle at 80% 40%, rgba(255,255,255,0.3) 0%, transparent 25%),
                radial-gradient(circle at 40% 70%, rgba(255,255,255,0.3) 0%, transparent 25%),
                radial-gradient(circle at 70% 90%, rgba(255,255,255,0.3) 0%, transparent 25%);
            position: relative;
            overflow: hidden;
            transition: background-color 0.5s ease;
        }
        
        /* Éléments graphiques d'arrière-plan */
        body::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%23ffffff' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round' style='opacity: 0.07;'%3E%3Cpath d='M13 2L3 14h9l-1 8l10-12h-9l1-8z'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: repeat;
            opacity: 0.15;
            z-index: 0;
        }
        
        /* Particules électriques en arrière-plan */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }
        
        .particle {
            position: absolute;
            display: block;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            animation: float 15s infinite ease-in-out;
        }
        
        .particle:nth-child(1) {
            width: 8px;
            height: 8px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
            animation-duration: 20s;
        }
        
        .particle:nth-child(2) {
            width: 12px;
            height: 12px;
            top: 60%;
            left: 30%;
            animation-delay: 2s;
            animation-duration: 18s;
        }
        
        .particle:nth-child(3) {
            width: 6px;
            height: 6px;
            top: 40%;
            left: 70%;
            animation-delay: 4s;
            animation-duration: 22s;
        }
         
        .particle:nth-child(4) {
            width: 10px;
            height: 10px;
            top: 75%;
            left: 80%;
            animation-delay: 6s;
            animation-duration: 16s;
        }
        
        .particle:nth-child(5) {
            width: 8px;
            height: 8px;
            top: 15%;
            left: 85%;
            animation-delay: 8s;
            animation-duration: 24s;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0.7;
            }
            25% {
                transform: translateY(-50px) translateX(30px);
                opacity: 0.9;
            }
            50% {
                transform: translateY(-100px) translateX(-30px);
                opacity: 0.7;
            }
            75% {
                transform: translateY(-150px) translateX(30px);
                opacity: 0.9;
            }
            100% {
                transform: translateY(-200px) translateX(0);
                opacity: 0;
            }
        }
        
        .login-wrapper {
            display: flex;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3), 0 4px 25px 0px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
            width: 980px;
            max-width: 95%;
            background-color: var(--light-color);
            position: relative;
            z-index: 1;
            transform: perspective(1500px) rotateX(0deg) rotateY(0deg);
            transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .login-wrapper:hover {
            box-shadow: 0 40px 70px -15px rgba(0, 0, 0, 0.4), 0 6px 30px 0px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.2);
            transform: perspective(1500px) rotateX(2deg) rotateY(-1deg) translateY(-5px);
        }
        
        .login-banner {
            flex: 1;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            padding: 50px 40px;
            color: var(--light-color);
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
            clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
        }
        
        .login-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cpath d="M11 18C11.6 11.6 7 5.4 7 5.4C7 5.4 4.6 8.6 3.4 13.6C2.2 18.6 2.6 21.8 2.6 21.8C2.6 21.8 10.4 24.4 11 18zM51.4 23.4C52 17 47.4 10.8 47.4 10.8C47.4 10.8 45 14 43.8 19C42.6 24 43 27.2 43 27.2C43 27.2 50.8 29.8 51.4 23.4zM89.8 29C90.4 22.6 85.8 16.4 85.8 16.4C85.8 16.4 83.4 19.6 82.2 24.6C81 29.6 81.4 32.8 81.4 32.8C81.4 32.8 89.2 35.4 89.8 29zM30.6 69.4C31.2 63 26.6 56.8 26.6 56.8C26.6 56.8 24.2 60 23 65C21.8 70 22.2 73.2 22.2 73.2C22.2 73.2 30 75.8 30.6 69.4zM69.8 74.8C70.4 68.4 65.8 62.2 65.8 62.2C65.8 62.2 63.4 65.4 62.2 70.4C61 75.4 61.4 78.6 61.4 78.6C61.4 78.6 69.2 81.2 69.8 74.8z" fill="%23ffffff" fill-opacity="0.08"/%3E%3C/svg%3E');
            background-repeat: repeat;
            opacity: 0.3;
        }
        
        /* Lignes de circuit sur la bannière */
        .circuit-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0.07;
            background-image: 
                linear-gradient(90deg, transparent 98%, rgba(255,255,255,0.8) 2%),
                linear-gradient(0deg, transparent 97%, rgba(255,255,255,0.8) 3%);
            background-size: 30px 30px;
            z-index: 1;
        }
        
        .login-banner h1 {
            font-size: 2.3rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            letter-spacing: 0.5px;
        }
        
        .login-banner p {
            font-size: 1.15rem;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
            line-height: 1.7;
            max-width: 400px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
            opacity: 0.9;
        }
        
        /* Élément décoratif d'éclair principal */
        .power-icon {
            position: absolute;
            bottom: 40px;
            right: 40px;
            width: 50px;
            height: 50px;
            background-color: var(--accent-color);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M13 2L3 14h9l-1 8l10-12h-9l1-8z' fill='%23e30613'%3E%3C/path%3E%3C/svg%3E");
            -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M13 2L3 14h9l-1 8l10-12h-9l1-8z' fill='%23e30613'%3E%3C/path%3E%3C/svg%3E");
            mask-size: contain;
            -webkit-mask-size: contain;
            mask-repeat: no-repeat;
            -webkit-mask-repeat: no-repeat;
            opacity: 0.9;
            animation: pulse 3s infinite;
            z-index: 2;
            filter: drop-shadow(0 0 8px rgba(227, 6, 19, 0.7));
        }
        
        /* Petits éclairs décoratifs */
        .mini-power {
            position: absolute;
            width: 15px;
            height: 15px;
            background-color: var(--secondary-color);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M13 2L3 14h9l-1 8l10-12h-9l1-8z' fill='%23ffdd00'%3E%3C/path%3E%3C/svg%3E");
            -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M13 2L3 14h9l-1 8l10-12h-9l1-8z' fill='%23ffdd00'%3E%3C/path%3E%3C/svg%3E");
            mask-size: contain;
            -webkit-mask-size: contain;
            mask-repeat: no-repeat;
            -webkit-mask-repeat: no-repeat;
            opacity: 0.7;
            z-index: 2;
        }
        
        .mini-power-1 {
            top: 15%;
            left: 20%;
            animation: float-mini 6s infinite ease-in-out;
        }
        
        .mini-power-2 {
            top: 75%;
            left: 30%;
            animation: float-mini 8s infinite ease-in-out;
            animation-delay: 1s;
        }
        
        .mini-power-3 {
            top: 40%;
            left: 70%;
            animation: float-mini 7s infinite ease-in-out;
            animation-delay: 2s;
        }
        
        @keyframes float-mini {
            0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.7; }
            50% { transform: translateY(-10px) translateX(5px) rotate(10deg); opacity: 1; }
            100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.7; }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 8px rgba(227, 6, 19, 0.6)); }
            50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(227, 6, 19, 0.8)); }
            100% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 8px rgba(227, 6, 19, 0.6)); }
        }
        
        .login-form-container {
            flex: 1;
            padding: 60px 50px;
            background-color: var(--light-color);
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 2;
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 35px;
        }
        
        .logo-container {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }
        
        .logo {
            width: 140px;
            height: auto;
            max-width: 100%;
            filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: logoEntrance 1.5s ease-out forwards;
        }
        
        @keyframes logoEntrance {
            0% { transform: scale(0.8); opacity: 0; }
            50% { transform: scale(1.1); opacity: 1; }
            70% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }
        
        .logo:hover {
            transform: scale(1.08) rotate(2deg);
        }
        
        /* Halo lumineux autour du logo */
        .logo-container::after {
            content: '';
            position: absolute;
            width: 140px;
            height: 140px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(255, 221, 0, 0.3) 0%, rgba(255, 221, 0, 0) 70%);
            z-index: -1;
            border-radius: 50%;
            animation: pulseHalo 3s infinite alternate;
        }
        
        @keyframes pulseHalo {
            0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
            100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
        }
        
        .form-floating {
            margin-bottom: 25px;
            position: relative;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s forwards;
        }
        
        .form-floating:nth-child(1) {
            animation-delay: 0.3s;
        }
        
        .form-floating:nth-child(2) {
            animation-delay: 0.5s;
        }
        
        @keyframes slideUp {
            0% { transform: translateY(30px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }
        
        .form-floating .form-control {
            height: 65px;
            border-radius: 12px;
            border: 2px solid rgba(0, 0, 0, 0.08);
            padding-left: 55px;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            background-color: var(--gray-color);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
        }
        
        .form-floating .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(0, 122, 51, 0.15);
            background-color: var(--light-color);
        }
        
        .form-floating label {
            padding-left: 55px;
            color: var(--dark-color);
            opacity: 0.7;
            font-weight: 500;
        }
        
        .form-icon {
            position: absolute;
            top: 50%;
            left: 18px;
            transform: translateY(-50%);
            color: var(--primary-color);
            font-size: 1.3rem;
            z-index: 2;
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .form-floating:focus-within .form-icon {
            color: var(--primary-light);
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            border: none;
            border-radius: 12px;
            padding: 16px;
            font-weight: 600;
            font-size: 1.15rem;
            width: 100%;
            margin-top: 20px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            color: white;
            box-shadow: 0 6px 15px rgba(0, 122, 51, 0.3);
            letter-spacing: 0.8px;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s forwards 0.7s;
        }
        
        .btn-primary span {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s ease;
        }
        
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 0;
        }
        
        .btn-primary:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 12px 25px rgba(0, 122, 51, 0.4);
            letter-spacing: 1px;
        }
        
        .btn-primary:hover::before {
            left: 100%;
        }
        
        .btn-primary:hover::after {
            opacity: 1;
        }
        
        .btn-primary:active {
            transform: translateY(-2px) scale(0.98);
            box-shadow: 0 6px 15px rgba(0, 122, 51, 0.3);
        }
        
        .alert {
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 25px;
            animation: fadeIn 0.5s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transform: translateY(20px);
            opacity: 0;
            animation: shakeAlert 0.5s cubic-bezier(.36,.07,.19,.97) forwards;
        }
        
        @keyframes shakeAlert {
            0% { transform: translateY(20px); opacity: 0; }
            20% { transform: translateY(0); opacity: 1; }
            40% { transform: translate(-8px); }
            60% { transform: translate(8px); }
            80% { transform: translate(-4px); }
            100% { transform: translate(0); opacity: 1; }
        }
        
        .alert-danger {
            background-color: rgba(227, 6, 19, 0.06);
            border-left: 4px solid var(--accent-color);
            color: var(--accent-color);
        }
        
        .alert-danger i {
            animation: pulseIcon 2s infinite;
        }
        
        @keyframes pulseIcon {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .login-footer {
            text-align: center;
            margin-top: 35px;
            color: var(--dark-color);
            font-size: 0.95rem;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s forwards 0.9s;
        }
        
        .login-footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-block;
            position: relative;
        }
        
        .login-footer a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--accent-color);
            transform-origin: bottom right;
            transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
        }
        
        .login-footer a:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }
        
        .login-footer a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
        
        .form-check {
            margin-top: 18px;
            display: flex;
            align-items: center;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s forwards 0.6s;
            user-select: none;
        }
        
        .form-check-input {
            width: 22px;
            height: 22px;
            margin-right: 12px;
            border-radius: 6px;
            border: 2px solid #ddd;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            background-color: var(--gray-color);
        }
        
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            animation: checkmarkAnimation 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
        }
        
        @keyframes checkmarkAnimation {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .form-check-label {
            cursor: pointer;
            user-select: none;
            font-size: 1rem;
            transition: all 0.2s;
        }
        
        .form-check-input:checked + .form-check-label {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        /* Responsivité */
        @media (max-width: 992px) {
            .login-wrapper {
                width: 90%;
            }
        }
        
        @media (max-width: 768px) {
            .login-wrapper {
                flex-direction: column;
                max-width: 90%;
                transform: none !important;
            }
            
            .login-banner {
                padding: 40px 30px;
                clip-path: none;
            }
            
            .login-banner h1 {
                font-size: 1.8rem;
                text-align: center;
            }
            
            .login-banner p {
                text-align: center;
                margin: 0 auto 20px auto;
                font-size: 1rem;
            }
            
            .login-form-container {
                padding: 40px 30px;
            }
            
            .logo {
                width: 100px;
            }
            
            .logo-container::after {
                width: 100px;
                height: 100px;
            }
            
            .form-floating .form-control {
                height: 60px;
                font-size: 1rem;
            }
            
            .power-icon {
                bottom: 20px;
                right: 20px;
                width: 35px;
                height: 35px;
            }
            
            .mini-power {
                display: none;
            }
            
            .btn-primary {
                padding: 14px;
                font-size: 1.1rem;
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Animation spéciale pour le logo */
        @keyframes logoGlow {
            0% { filter: drop-shadow(0 0 8px rgba(0, 122, 51, 0.3)); }
            50% { filter: drop-shadow(0 0 15px rgba(0, 122, 51, 0.5)); }
            100% { filter: drop-shadow(0 0 8px rgba(0, 122, 51, 0.3)); }
        }
    