/* Style de base */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, button {
    padding: 12px;
    font-size: 18px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Style pour les messages */
#message {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
}

/* Message de confirmation (vert) */
.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Message d'erreur (rouge) */
.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cartes de réservation */
.reservation-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reservation-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.reservation-card p {
    margin: 0;
    font-size: 1rem;
}

.reservation-card .action-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.reservation-card .action-btn:hover {
    background-color: #45a049;
}

/* Met en valeur le nombre de dodos */
.highlight 
{
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    background-color: #5bc0de; 
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.absence-card 
{
    background-color: #fef2e7;
    border: 1px solid #deba5b;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/*
#calendar {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
*/


/* Media query pour les petits écrans (tablettes et smartphones) */
@media (max-width: 768px) {
    .container {
        width: 85%;
        padding: 25px;
    }

    h1 {
        font-size: 1.8rem;
    }

    form input, form select, form button {
        font-size: 18px;
        padding: 14px;
    }

    .reservation-card h3 {
        font-size: 1.2rem;
    }

    .reservation-card p {
        font-size: 1rem;
    }
}

/* Media query pour les très petits écrans (smartphones en portrait) */
@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    .reservation-card {
        padding: 12px;
    }

    .reservation-card h3 {
        font-size: 1.1rem;
    }

    .reservation-card p {
        font-size: 0.9rem;
    }

    .reservation-card .action-btn {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .fc-header-toolbar {
        flex-direction: column; /* Empile les boutons */
        align-items: center;
        gap: 5px;
    }

    .fc-toolbar-title {
        font-size: 1.2rem; /* Réduit la taille du titre */
        text-align: center;
    }

    .fc-button {
        font-size: 0.8rem; /* Réduit la taille des boutons */
        padding: 6px 10px;
    }
}

