/**
 * Styles pour le calendrier de réservation
 * Version: 1.0.0
 */

.reservation-calendar {
    max-width: 600px;
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.calendar-navigation button {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.calendar-navigation button:hover {
    background: #005a87;
}

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

.calendar-day-header {
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.calendar-day {
    background: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.available {
    background: #e8f5e8;
}

.calendar-day.available:hover {
    background: #d4edda;
}

.calendar-day.selected {
    background: #007cba;
    color: white;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #6c757d;
}

.time-slots-container {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    background: white;
}

.time-slot:hover {
    background: #f0f0f0;
}

.time-slot.available {
    background: #e8f5e8;
    border-color: #28a745;
}

.time-slot.available:hover {
    background: #d4edda;
}

.time-slot.selected {
    background: #007cba;
    color: white;
}

.time-slot.unavailable {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.reservation-summary {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.summary-details p {
    margin: 5px 0;
}

.confirm-reservation {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.confirm-reservation:hover {
    background: #218838;
}

.confirm-reservation:disabled {
    background: #6c757d;
    cursor: not-allowed;
}
