body {
    font-family: Arial, sans-serif;
    background: #fff;
    margin: 0;
    color: #333;
}

/* Navbar */
.navbar {
    background: #E0E0E0;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.nav-item {
    margin-right: 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border: 1px solid #999;
    padding: 5px 15px;
    background: white;
}

.container {
    padding: 30px;
}

.header-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #E0E0E0;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.btn-export {
    background: #ccc;
    border: 1px solid #999;
    padding: 5px 20px;
    cursor: pointer;
}

/* Tableaux */
.main-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}

.main-table th,
.main-table td {
    border: 1px solid #000;
    padding: 12px;
    text-align: center;
}

.main-table th {
    background: #F2F2F2;
}

/* Filtres */
.filters-container {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

#filterForm {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-item select,
.filter-item input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

/* Affichage des presences */
.presence-timeline {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2px 0;
}

/* Style de chaque sous-case de jour */
.day-badge {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Couleurs cases */
.bg-red {
    background-color: #FF3B30 !important;
}

.bg-green {
    background-color: #4CD964 !important;
}

.bg-green-light {
    background-color: #D1FFD7;
}