        body {
            display: flex;
            height: 100vh;
            margin: 0;
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
        }

        .left, .right {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .left {
            position: fixed;
            top: 0;
            left: 0;
            width: 50%;
            height: 100vh;
            background-color: #0D4F23;
            color: white;
            padding: 20px;
            z-index: 1000;
            transition: transform 0.3s ease;
        }

        .right {
            background-color: white;
            width: 50%;
            padding: 40px 20px;
            margin-left: 50%;
        }

        .logo {
            background: white;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo img {
            max-width: 100%;
            height: auto;
        }

        .title1 {
            font-size: 28px;
            margin-bottom: 20px;
            font-family: "Mochiy Pop One", sans-serif;
            letter-spacing: 1px;
        }

        .title {
            font-size: 32px;
            margin: 0 0 40px 0;
            font-family: "Mochiy Pop One", sans-serif;
            color: #0D4F23;
            position: relative;
        }

        .title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background-color: #0D4F23;
        }

        .form-container {
            width: 80%;
            max-width: 400px;
        }

        .input-group {
            position: relative;
            width: 100%;
            margin-bottom: 30px;
        }

        .input-group label {
            display: block;
            text-align: left;
            margin-bottom: 8px;
            font-weight: bold;
            font-size: 14px;
            color: #555;
        }

        .input-group input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .input-group input:focus {
            border-color: #0D4F23;
            box-shadow: 0 0 0 2px rgba(13, 79, 35, 0.2);
            outline: none;
        }

        .input-group .material-icons {
            position: absolute;
            right: 12px;
            bottom: 12px;
            color: #888;
            cursor: pointer;
            font-size: 20px;
            transition: color 0.3s ease;
        }

        .input-group .material-icons:hover {
            color: #0D4F23;
        }

        .options-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin-bottom: 25px;
        }

        .remember {
            display: flex;
            align-items: center;
            font-size: 14px;
        }

        .remember input {
            margin-right: 8px;
        }

        .forgot-password {
            font-size: 14px;
            color: #429e61;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: #0D4F23;
            text-decoration: underline;
        }

        .btn {
            width: 100%;
            padding: 14px;
            background-color: #0D4F23;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            font-family: "Mochiy Pop One", sans-serif;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn:hover {
            background-color: #0a3d1b;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn:active {
            transform: translateY(0);
        }

        .register {
            font-size: 14px;
            margin-top: 25px;
        }

        .register a {
            color: #0D4F23;
            font-weight: bold;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .register a:hover {
            text-decoration: underline;
        }

        .social-login {
            margin-top: 30px;
            width: 100%;
        }

        .social-login p {
            position: relative;
            text-align: center;
            margin-bottom: 20px;
        }

        .social-login p::before,
        .social-login p::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 35%;
            height: 1px;
            background-color: #ddd;
        }

        .social-login p::before {
            left: 0;
        }

        .social-login p::after {
            right: 0;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: #f5f5f5;
            color: #555;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .social-icon.google:hover {
            background-color: #DB4437;
            color: white;
        }

        .social-icon.facebook:hover {
            background-color: #4267B2;
            color: white;
        }

        .social-icon.apple:hover {
            background-color: #000;
            color: white;
        }

        /* Animation pour le bouton */
        .btn .ripple {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            transform: scale(0);
            animation: ripple 0.6s linear;
        }

        @keyframes ripple {
            to {
                transform: scale(2.5);
                opacity: 0;
            }
        }

        /* Spinner pour le chargement */
        .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -10px;
            margin-left: -10px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Message d'erreur */
        .error-message {
            display: none;
            color: #e74c3c;
            font-size: 14px;
            text-align: left;
            margin-top: -20px;
            margin-bottom: 20px;
            width: 100%;
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }
            
            .left {
                position: relative;
                width: 100%;
                height: auto;
                padding: 30px 20px;
            }
            
            .right {
                width: 100%;
                margin-left: 0;
                padding: 30px 20px;
            }
            
            .logo img {
                width: 200px;
            }
            
            .title1 {
                font-size: 22px;
            }
            
            .title {
                font-size: 26px;
                margin: 20px 0;
            }
            
            .form-container {
                width: 90%;
            }
            
            .options-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .forgot-password {
                align-self: flex-end;
            }
        }

        .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url('loader.gif') center center no-repeat;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-loader.hidden {
    display: none;
}