/* Couleurs du thème */
:root {
    --bleu-clair: #e6f0f7;
    --bleu-moyen: #cce0f4;
    --bleu-foncé: #00315c;
    --gris: #dddddd;
    --rouge: #cc0000;
}

/* Calendrier côté client */
.rdv-calendrier {
    background-color: var(--bleu-clair);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.rdv-calendrier h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--bleu-foncé);
}

.rdv-calendrier table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.rdv-calendrier th,
.rdv-calendrier td {
    padding: 8px;
    width: 14.28%;
}

.rdv-jour button {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background-color: var(--bleu-moyen);
    color: var(--bleu-foncé);
    font-weight: bold;
    cursor: pointer;
}

.rdv-jour button:hover {
    background-color: var(--bleu-foncé);
    color: white;
}

.rdv-jour button[disabled],
.rdv-btn-creneau[disabled] {
    background-color: var(--gris);
    cursor: not-allowed;
    color: #888;
}

/* Formulaire de prise de RDV */
#rdv-formulaire {
    background-color: white;
    border: 1px solid var(--bleu-moyen);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
}

#rdv-date-selectionnee {
    color: var(--bleu-foncé);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.rdv-creneaux {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
    justify-content: center;
}

.rdv-btn-creneau {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    background-color: var(--bleu-clair);
    color: var(--bleu-foncé);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.rdv-btn-creneau:hover {
    background-color: var(--bleu-foncé);
    color: white;
}

.rdv-btn-creneau.selected {
    background-color: var(--bleu-foncé);
    color: white;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--bleu-moyen);
    border-radius: 6px;
    margin-bottom: 1rem;
}

button[type="submit"] {
    background-color: var(--bleu-foncé);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Message de confirmation */
.rdv-message-confirmation {
    background-color: #d0f0d0;
    border-left: 4px solid #4CAF50;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    max-width: 600px;
    margin: 1rem auto;
    text-align: center;
    border-radius: 6px;
}

/* Admin : disposition par mois */
.admin-rdv-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 1rem 0;
}

.admin-rdv-month {
    background-color: #f0f4f9;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0.5rem;
    width: 220px;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-rdv-month h3 {
    text-align: center;
    color: var(--bleu-foncé);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.admin-rdv-daybox {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.admin-rdv-day-title {
    font-weight: bold;
    color: #00315c;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
