   @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: #f9f9f9;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 15px;
        }

        /* Logo plus compact */
        .logo-container {
            margin-bottom: 15px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .logo-container i {
            font-size: 26px;
            color: #1b1a3f;
        }

        .logo_name {
            font-size: 20px;
            font-weight: 700;
            color: #1b1a3f;
        }

        /* Carte d'authentification compacte */
        .auth-container {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            padding: 25px 20px;
            margin-bottom: 15px;
        }

        .auth-form {
            width: 100%;
        }

        .auth-form h1 {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
            font-size: 24px;
            font-weight: 600;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .social-icons .icon {
            width: 38px;
            height: 38px;
            border: 1px solid #e0e0e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            text-decoration: none;
            transition: all 0.3s ease;
            background: #f7f7f7;
            font-size: 14px;
        }

        .social-icons .icon:hover {
            background-color: #f0f0f0;
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .divider {
            display: block;
            text-align: center;
            margin: 20px 0;
            color: #777;
            font-size: 13px;
            position: relative;
        }

        .divider::before,
        .divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background-color: #e0e0e0;
        }

        .divider::before {
            left: 0;
        }

        .divider::after {
            right: 0;
        }

        .auth-form input,
        .auth-form select {
            width: 100%;
            padding: 12px;
            margin: 8px 0;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }

        .auth-form input:focus,
        .auth-form select:focus {
            border-color: #6c63ff;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
        }

        .auth-form select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12L8 12z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 14px;
        }

        .auth-button {
            width: 100%;
            padding: 12px;
            background-color: #1b1a3f;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin-top: 12px;
        }

        .auth-button:hover {
            background-color: #4e4b86;
        }

        .forgot-password {
            display: block;
            text-align: right;
            margin: 5px 0 15px;
            color: #6c63ff;
            text-decoration: none;
            font-size: 13px;
            transition: color 0.2s ease;
        }

        .forgot-password:hover {
            color: #5a52d5;
            text-decoration: underline;
        }

        .auth-redirect {
            text-align: center;
            margin-top: 20px;
            color: #555;
            font-size: 14px;
        }

        .auth-redirect a {
            color: #6c63ff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .auth-redirect a:hover {
            color: #5a52d5;
            text-decoration: underline;
        }

        .notification {
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 15px;
            font-size: 13px;
            line-height: 1.4;
        }

        .notification.success {
            background-color: #f0f9f0;
            color: #2a6b2a;
            border: 1px solid #cdeacc;
        }

        .notification.error {
            background-color: #fdf0f0;
            color: #c53030;
            border: 1px solid #f8d7da;
        }

        .notification.error p {
            margin: 4px 0;
        }

        /* Pied de page compact */
        .auth-footer {
            text-align: center;
            padding: 12px 0;
            color: #777;
            font-size: 12px;
            width: 100%;
            max-width: 400px;
        }

        .footer-links {
            margin-top: 8px;
        }

        .footer-links a {
            color: #6c63ff;
            text-decoration: none;
            margin: 0 8px;
            font-size: 12px;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: #5a52d5;
            text-decoration: underline;
        }

        /* Styles pour le conteneur du sélecteur */
        .select-wrapper {
            position: relative;
            width: 100%;
            margin: 8px 0;
        }

        .select-wrapper::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid #555;
            pointer-events: none;
            z-index: 1;
        }

        .auth-form select {
            width: 100%;
            padding: 12px;
            padding-right: 35px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: none;
            cursor: pointer;
        }

        .auth-form select:focus {
            border-color: #4CAF50;
            outline: none;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .auth-container {
            animation: fadeIn 0.4s ease-out;
        }

        /* Responsive Design pour version compacte */
        @media (max-width: 480px) {
            body {
                padding: 12px;
                background-color: #fff;
                justify-content: center;
            }
            
            .logo-container {
                margin: 0 0 12px;
            }
            
            .logo-container i {
                font-size: 22px;
            }
            
            .logo_name {
                font-size: 18px;
            }
            
            .auth-container {
                padding: 20px 18px;
                border-radius: 10px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
                margin-bottom: 12px;
                width: 95%;
            }
            
            .auth-form h1 {
                font-size: 22px;
                margin-bottom: 18px;
            }
            
            .auth-form input,
            .auth-form select {
                padding: 11px;
                font-size: 15px;
                margin: 7px 0;
            }
            
            .divider {
                margin: 18px 0;
                font-size: 12px;
            }
            
            .divider::before,
            .divider::after {
                width: 38%;
            }
            
            .social-icons .icon {
                width: 36px;
                height: 36px;
                font-size: 13px;
            }
            
            .auth-button {
                padding: 11px;
                margin-top: 10px;
                font-size: 14px;
            }
            
            .auth-footer {
                font-size: 11px;
                padding: 10px 0;
                max-width: 95%;
            }
            
            .footer-links {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 6px;
            }
            
            .footer-links a {
                margin: 0 4px;
                font-size: 11px;
            }
            
            .notification {
                padding: 10px;
                font-size: 12px;
                margin-bottom: 12px;
            }
        }

        /* Pour les très petits écrans */
        @media (max-width: 320px) {
            body {
                padding: 10px;
            }
            
            .auth-container {
                padding: 18px 15px;
                margin-bottom: 10px;
            }
            
            .auth-form h1 {
                font-size: 20px;
            }
            
            .social-icons .icon {
                width: 34px;
                height: 34px;
            }
            
            .divider {
                font-size: 11px;
                margin: 15px 0;
            }
            
            .auth-form input,
            .auth-form select {
                padding: 10px;
                margin: 6px 0;
                font-size: 14px;
            }
            
            .footer-links {
                flex-direction: column;
                gap: 4px;
            }
            
            .auth-button {
                padding: 10px;
                margin-top: 8px;
                font-size: 14px;
            }
            
            .auth-redirect {
                margin-top: 18px;
                font-size: 13px;
            }
        }

        /* Amélioration de l'accessibilité */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Style pour le placeholder */
        .auth-form input::placeholder {
            color: #999;
            font-size: 13px;
        }

        /* Style pour le sélecteur */
        .auth-form select {
            color: #333;
        }

        /* Style pour les options du sélecteur */
        .auth-form select option {
            padding: 8px;
            background: #fff;
            font-size: 13px;
        }
