/**
 * Heitz Calendar Styles
 *
 * @package BlockOut\Heitz
 * @since 1.0.0
 */

/* =====================================================
   Calendar Container
   ===================================================== */

#boh-calendar-wrapper {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

#boh-calendar {
    display: flex;
    justify-content: center;
}

.boh-calendar-title {
    display: flex;
    justify-content: center;
    font-size: 20px;
}

/* =====================================================
   Flatpickr Calendar Customization
   ===================================================== */

.flatpickr-calendar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.flatpickr-day {
    height: inherit;
    max-width: inherit;
}

/* Days */
.flatpickr-day:hover {
    background: #f0f0f0;
    border-color: #FC4642;
}

.flatpickr-day.selected {
    border-color: #FC4642 !important;
}

.flatpickr-day.today {
    background: #FFF3E4;
    font-weight: 700;
}

/* Slot count badge */
.boh-slot-count {
    right: 2px;
    color: white;
    font-size: 9px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
}

/* =====================================================
   Slots Grid
   ===================================================== */

#boh-slots {
    margin-top: 30px;
    display: none;
}

.boh-slots-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-transform: inherit;
}

.boh-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Slot buttons */
.boh-slot-btn {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.boh-slot-btn:hover {
    border-color: #FC4642;
    box-shadow: 0 2px 8px rgba(252, 70, 66, 0.2);
    transform: translateY(-2px);
}

.boh-slot-btn.selected {
    background: #FC4642;
    color: white;
    border-color: #FC4642;
}

.boh-slot-time {
    font-size: 18px;
    font-weight: 600;
}

.boh-slot-room {
    font-size: 14px;
    color: #666;
}

.boh-slot-btn.selected .boh-slot-room {
    color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 768px) {
    .boh-slots-grid {
        grid-template-columns: 1fr;
    }
}