/* 🌟 Style global pour éviter d'impacter tout le site */
.employee-table-container {
    max-width: 900px;
    margin: auto;
    font-family: Arial, sans-serif;
}

/* 🌟 Table stylée */
.employee-table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2c2c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.employee-table th, .employee-table td {
    padding: 10px;
    text-align: left;
}

.employee-table th {
    background: #214165;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}

.delete-btn {
    padding: 5px 5px;
    font-size: 14px;
    color: #fff;
    background-color: #a80710 !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #c0001a !important;
}
.grade-separator {
	background: #154782;
}


/* 🌟 Champs de formulaire inline */
.employee-table input, .employee-table select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* 🌟 Boutons stylisés */
.btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
}

/* Bouton Ajouter */
#add-employee-btn {
    background: #28a745;
    color: white;
}

#add-employee-btn:hover {
    background: #218838;
}

/* Bouton Modifier */
.edit-btn {
    background: #ffc107;
    color: black;
}

.edit-btn:hover {
    background: #e0a800;
}

/* Bouton valide tous */
.validate-all {
    background: #6614b8 !important;
    color: white !important;
}

.validate-all:hover {
    background: #8a2be2 !important;
}

/* Bouton Sauvegarder */
.save-btn {
    background: #007bff;
    color: white;
}

.save-btn:hover {
    background: #0056b3;
}

/* Bouton Annuler */
.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* 🌟 Formulaire d'ajout */
#employee-form {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 🌟 Responsive */
@media screen and (max-width: 768px) {
    .employee-table th, .employee-table td {
        padding: 8px;
        font-size: 12px;
    }
}

/* 🌟 Séparateur de grade */
.grade-separator {
    background: #0e3764;
    color: white;
    font-weight: bold;
    text-align: center !important;
    text-transform: uppercase;
    font-size: 16px;
}

.grade-separator td {
    padding: 8px;
	text-align: center !important;
}

/* 🌟 Barre de recherche centrée */
.search-btn {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🌟 Style input de recherche */
.search-btn input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

/* 🌟 Focus sur l'input */
.search-btn input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

/* 🌟 Icone dans le champ de recherche */
.search-btn input::placeholder {
    color: #aaa;
    font-style: italic;
}

/* 🌟 Bouton de recherche */
.search-btn button {
    padding: 10px 20px;
    margin-left: 10px;
    background: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* 🌟 Hover sur le bouton de recherche */
.search-btn button:hover {
    background: #0056b3;
}

/* 🌟 Responsive */
@media screen and (max-width: 768px) {
    .search-btn {
        max-width: 90%;
    }
}

