 @font-face {
    font-family: 'MyFont';
    src: url('fonts/StackSansText-Bold.ttf') format('woff2'),
         url('StackSansText-Regular.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Stack Sans Text';
             background: linear-gradient(180deg, #ffffff 0%, #dddddd 100%);
           /* background-color: white;*/
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-container {
            /* background: white; */
            padding: 2.5rem;
            border-radius: 15px;
            /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
            width: 100%;
            max-width: 450px;
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo h1 {
            color: #333;
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            color: #555;
            font-weight: 600;
        }

        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 14px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #fafbfc;
        }

        input:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

.captcha-image {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 5px;
    background: #f8f9fa;
    height: 50px;  /* Ajusté à la nouvelle hauteur */
    width: 160px;  /* Ajusté à la nouvelle largeur */
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#captcha_code {
 
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    padding: 10px;
    width: 140px;
 
}

        .btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }

        .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .btn-loading {
            color: transparent;
        }

        .btn-loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            border: 2px solid transparent;
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: button-loading-spinner 1s ease infinite;
        }

        @keyframes button-loading-spinner {
            from { transform: rotate(0turn); }
            to { transform: rotate(1turn); }
        }

        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            text-align: center;
            font-weight: 500;
        }

        .alert-error {
            background: linear-gradient(135deg, #ffeaea 0%, #ffcccc 100%);
            color: #d63031;
            border: 1px solid #ff7675;
        }

        .security-info {
            margin-top: 2rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 10px;
            border-left: 4px solid #667eea;
        }

        .security-info h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        .security-info p {
            margin-bottom: 0.5rem;
            color: #555;
            display: flex;
            align-items: center;
        }

        .security-info p:before {
            content: "✓";
            color: #27ae60;
            font-weight: bold;
            margin-right: 0.5rem;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .shake {
            animation: shake 0.5s ease-in-out;
        }

