        .message {
            padding: 12px 15px;
            margin-bottom: 25px;
            border-radius: 4px;
        }

        .message.error {
            background: #f8d7da;
            color: #842029;
        }

        .message.success {
            background: #d1e7dd;
            color: #0f5132;
        }
		.message.warning { background: #fff3cd; color: #856404; }
		

        .forms {
            display: flex;
            gap: 50px;
        }

        .form-container {
            flex: 1;
        }

        /* label { */
            /* display: block; */
            /* margin-top: 12px; */
        /* } */

.auth-form        input[type=text], .auth-form input[type=password], .auth-form input[type=email]{ 
            width: 100%; 
             box-sizing: border-box; 
             padding: 8px; 
             margin-top: 4px; 
         } 
		 

        /* button { */
            /* margin-top: 15px; */
            /* padding: 8px 16px; */
        /* } */

        .resend {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #ccc;
        }
		
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    font-size: 18px;
}		

/* Conteneur pour la barre de force du mot de passe */
.password-strength-container {
    height: 5px;
    background: #eee;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

/* Barre de progression */
.password-strength-bar {
    height: 100%;
    width: 0%;
    background: #ff4444; /* Rouge par défaut (trop court) */
    transition: width 0.3s, background 0.3s;
}

/* Barre verte quand le mot de passe est assez long */
.password-strength-bar.valid {
    background: #4CAF50;
}

/* Texte d'indication */
.password-hint {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.password-strength-bar.weak {
    animation: pulse 1.5s infinite;
}

/* Tooltip pour la barre */
.password-strength-container::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -25px;
    left: 0;
    background: #333;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.password-strength-container:hover::after {
    opacity: 1;
}

			.actions a, .actions button { margin-right: 8px; padding: 5px 10px; text-decoration: none; }
			.search-form { margin-bottom: 20px; display: flex; gap: 10px; }
			.search-form input { flex: 1; padding: 8px; }
			.modal {
				display: none;
				position: fixed;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background: rgba(0, 0, 0, 0.5);
				z-index: 1000;
				justify-content: center;
				align-items: center;
			}
			.modal-content {
				background: white;
				padding: 25px;
				border-radius: 5px;
				max-width: 500px;
				width: 90%;
			}
			.modal-content h2 { margin-top: 0; }
			.modal-content label { display: block; margin-top: 12px; }
			.modal-content input, .modal-content select { width: 100%; padding: 8px; margin-top: 4px; box-sizing: border-box; }
			.modal-content button { margin-top: 20px; padding: 8px 16px; }
			.section { margin-bottom: 40px; }
			.danger-zone { border: 1px solid #ffcccc; padding: 15px; border-radius: 5px; background: #fff8f8; }
			.roles-cell { font-size: 0.9em; }

@media (max-width: 600px) {
    .password-criteria {
        font-size: 0.8em;
    }
    
    .password-field input {
        padding-right: 40px;
    }
    
    .toggle-password {
        font-size: 16px;
        right: 2px;
    }
}