/* ==========================================================
   FULLCALENDAR - SIMS MODERN THEME
   ========================================================== */

#booking-calendar {

    /* ===== Theme ===== */

    --fc-border-color: #e5e7eb;
    --fc-page-bg-color: #ffffff;
    --fc-neutral-bg-color: #f8fafc;
    --fc-neutral-text-color: #475569;
    --fc-today-bg-color: rgba(59,130,246,.06);
    --fc-list-event-hover-bg-color: rgba(59,130,246,.06);
    --fc-button-bg-color: var(--c-primary);
    --fc-button-border-color: var(--c-primary);
    --fc-button-hover-bg-color: var(--c-primary-dark);
    --fc-button-hover-border-color: var(--c-primary-dark);
    --fc-button-active-bg-color: var(--c-primary);
    --fc-button-active-border-color: var(--c-primary);
    --fc-event-bg-color: #22c55e;
    --fc-event-border-color: #22c55e;
    font-family: var(--font-base, "Poppins", sans-serif);
    height: 100%;
}

/* ==========================================================
   GRID
   ========================================================== */

#booking-calendar .fc-scrollgrid {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}

#booking-calendar .fc-theme-standard td,
#booking-calendar .fc-theme-standard th {

    border-color: #eef2f7;

}

#booking-calendar .fc-scrollgrid-section-header th {
    border-bottom: 1px solid #e5e7eb;

}

/* ==========================================================
   HEADER
   ========================================================== */

#booking-calendar .fc-col-header {
    background: #ffffff;
}

#booking-calendar .fc-col-header-cell {
    background: #ffffff;
    padding: 16px 8px;
    border-bottom: 1px solid #e5e7eb;
}

#booking-calendar .fc-col-header-cell-cushion {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

#booking-calendar .fc-day-today .fc-col-header-cell-cushion {
    color: var(--c-primary);
}

/* ==========================================================
   TIME AXIS
   ========================================================== */

#booking-calendar .fc-timegrid-axis {
    background: #fafafa;
}

#booking-calendar .fc-timegrid-axis-cushion {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    padding-right: 12px;
}

/* ==========================================================
   SLOT
   ========================================================== */

#booking-calendar .fc-timegrid-slot {
    height: 42px;
}

#booking-calendar .fc-timegrid-slot-label {
    font-size: 12px;
    color: #94a3b8;
}

#booking-calendar .fc-timegrid-slot:hover {
    background: rgba(59,130,246,.025);
}

/* ==========================================================
   TODAY
   ========================================================== */

#booking-calendar .fc-day-today {
    background: rgba(59,130,246,.05) !important;
}

/* ==========================================================
   NOW INDICATOR
   ========================================================== */

#booking-calendar .fc-timegrid-now-indicator-line {
    border-color: #ef4444;
    border-width: 2px;
}

#booking-calendar .fc-timegrid-now-indicator-arrow {
    border-color: #ef4444;
}

/* ==========================================================
   SELECTION
   ========================================================== */

#booking-calendar .fc-highlight {
    background: rgba(59,130,246,.12) !important;
}

/* ==========================================================
   EVENT
   ========================================================== */

#booking-calendar .fc-event {
    border: none;
    border-radius: 12px;
    padding: 3px;
    cursor: pointer;
    transition: .2s ease;
    box-shadow:
        0 4px 12px rgba(15,23,42,.08);
}

#booking-calendar .fc-event:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px rgba(15,23,42,.14);
}

#booking-calendar .fc-event-main {
    padding: 6px 8px;
}

#booking-calendar .fc-event-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

#booking-calendar .fc-event-time {
    font-size: 11px;
    opacity: .95;
    margin-bottom: 2px;
}

/* ==========================================================
   DRAGGING
   ========================================================== */

#booking-calendar .fc-event.fc-event-dragging {
    opacity: .9;
    transform: rotate(.5deg);
}

/* ==========================================================
   RESIZING
   ========================================================== */
#booking-calendar .fc-event-resizer {
    opacity: .6;
}

#booking-calendar .fc-event-resizer:hover {
    opacity: 1;
}

/* ==========================================================
   SCROLLBAR
   ========================================================== */

#booking-calendar .fc-scroller::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#booking-calendar .fc-scroller::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 20px;
}

#booking-calendar .fc-scroller::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

#booking-calendar .fc-scroller::-webkit-scrollbar-track {
    background: transparent;
}

/* ==========================================================
   WEEKEND
   ========================================================== */

#booking-calendar .fc-day-sat,
#booking-calendar .fc-day-sun {
    background: rgba(248,250,252,.65);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 992px) {
    #booking-calendar .fc-timegrid-slot {
        height: 36px;
    }

    #booking-calendar .fc-col-header-cell {
        padding: 12px 4px;
    }

    #booking-calendar .fc-col-header-cell-cushion {
        font-size: 13px;
    }

}

@media (max-width: 768px) {
    #booking-calendar .fc-scrollgrid {
        border-radius: 12px;
    }

    #booking-calendar .fc-timegrid-slot {
        height: 32px;
    }

    #booking-calendar .fc-event-title {
        font-size: 12px;
    }

    #booking-calendar .fc-event-time {
        font-size: 10px;
    }
}