/* Corps général */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #eef2f3, #ffffff); /* Dégradé apaisant */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Conteneur principal */
.login-container {
    background-color: #ffffff; /* Fond blanc pour contraste */
    padding: 30px;
    border-radius: 15px; /* Coins arrondis */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    width: 100%;
    max-width: 600px; /* Largeur maximale */
    text-align: center;
}

/* Titre principal */
.login-container h1 {
    color: #2c3e50; /* Bleu-gris pour le texte */
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Formulaire */
form {
    text-align: left; /* Alignement du texte à gauche */
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #34495e; /* Gris foncé */
}

input, select {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #dddddd; /* Bordure gris clair */
    border-radius: 5px; /* Coins arrondis */
    background-color: #f9f9f9; /* Fond doux */
    font-size: 14px;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

/* Focus sur les champs */
input:focus, select:focus {
    border: 1px solid #3498db; /* Bordure bleue au focus */
    outline: none;
}

/* Bouton */
.btn {
    background: linear-gradient(to right, #4facfe, #0078d7); /* Dégradé bleu élégant */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(to right, #0078d7, #004aad); /* Teinte plus foncée au survol */
}

/* Messages de succès ou d'erreur */
.success-message {
    color: green;
    font-size: 14px;
    margin-bottom: 15px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

/* Tableau des utilisateurs */
#userTableContainer {
    margin-top: 30px;
}

#userTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
}

#userTable th, #userTable td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

#userTable th {
    background-color: #0078d7; /* Fond bleu pour l'en-tête */
    color: white; /* Texte blanc */
}

#userTable tr:nth-child(even) {
    background-color: #f9f9f9; /* Lignes alternées */
}

#userTable tr:hover {
    background-color: #f1f1f1; /* Fond au survol */
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position au-dessus */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.nav-item{
	
	
	color: red;
}


