/* CSS Basique pour la mise en page */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f7f6;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: auto;
}

.sidebar {
    width: 300px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.main-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    color: #0056b3;
}

/* Styles pour les formulaires */
form div {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="date"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

/* Styles Calendrier */
.calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #ddd;
}

.day-cell {
    border: 1px solid #eee;
    padding: 10px;
    min-height: 80px;
    font-size: 0.9em;
}

.day-cell.weekend {
    background-color: #ffe0b2;
}

.garde {
    color: #d32f2f;
    font-weight: bold;
}

.astreinte {
    color: #1976d2;
}

/* Styles Statistiques */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.stats-table th,
.stats-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.stats-table th {
    background-color: #f2f2f2;
}

.stat-delta-positive {
    color: green;
    font-weight: bold;
}

.stat-delta-negative {
    color: red;
    font-weight: bold;
}