/* ==========================================================
   BOOKING.CSS - Calendar, reservations, time slots
   ========================================================== */

/* ---------------------------------------------------------
   Reservation info section
   --------------------------------------------------------- */
.reservation-info {
    background-color: #fff;
}

.reservation-info .card {
    border: none;
    border-radius: var(--border-radius);
}

.reservation-info .card-body {
    padding: 2rem;
}

.reservation-info h2 {
    margin-bottom: 1.5rem;
}

.reservation-info .info-item {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
}

.reservation-info .info-item i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.reservation-info .separator {
    color: #ccc;
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

/* ---------------------------------------------------------
   Reservations list (client area)
   --------------------------------------------------------- */
.text-marron {
    color: #8B6F47;
}

/* Payment alert */
.alert-warning {
    border-left: 4px solid #ffc107;
}

/* Button spacing */
.d-flex.gap-2 {
    gap: 0.5rem;
}

/* ---------------------------------------------------------
   Availability calendar
   --------------------------------------------------------- */
#availability-calendar {
    padding: 20px;
    min-height: 300px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.day-column {
    text-align: center;
}

.day-header {
    font-weight: bold;
    color: #8B6F47;
    padding: 10px 0;
    border-bottom: 2px solid #8B6F47;
    margin-bottom: 10px;
}

/* ---------------------------------------------------------
   Time slots
   --------------------------------------------------------- */
.time-slot {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Alert dans le calendrier - même taille que les créneaux */
#availability-calendar .alert {
    padding: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: #8B6F47;
    background-color: #f8f5f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
    background-color: #8B6F47;
    color: white;
    border-color: #8B6F47;
}

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

.time-slot.unavailable:hover {
    transform: none;
    box-shadow: none;
    border-color: #dee2e6;
    background-color: #e9ecef;
}
