/* ============================
   CALENDAR PAGE — KINETIC4MUSIC
   Warm browns, subtle gradients, Georgia serif
============================ */

.calendar-page {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-top: 20px;
    font-family: "Georgia", serif;
}

/* Calendar wrapper panel */
.calendar-wrapper {
    background: #ffffff;
    border: 1px solid #DDE5EA;
    border-radius: 10px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(3px);
}

/* Calendar background */
.calendar-page #calendar {
    background: rgba(255, 255, 255, 0.85) !important;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    backdrop-filter: blur(3px);
}

/* ============================================
   GRID + HEADERS
=============================================== */

.calendar-page .fc-theme-bootstrap5 .fc-scrollgrid,
.calendar-page .fc-theme-bootstrap5 .fc-scrollgrid td,
.calendar-page .fc-theme-bootstrap5 .fc-scrollgrid th,
.calendar-page .fc-theme-bootstrap5 .fc-col-header-cell {
    border-color: rgba(120, 80, 50, 0.35) !important;
}

.calendar-page .fc-col-header-cell {
    background: linear-gradient(
        to bottom,
        rgba(120, 80, 50, 0.15),
        rgba(80, 50, 30, 0.25)
    );
    color: #3b2a1f;
    font-weight: bold;
    letter-spacing: 0.03em;
    font-family: "Georgia", serif;
}

.calendar-page .fc-daygrid-day {
    background: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease;
}

.calendar-page .fc-daygrid-day:hover {
    background: rgba(240, 225, 210, 0.55);
}

/* Highlight today */
.calendar-page .fc-day-today {
    background: rgba(255, 240, 220, 0.65) !important;
    border: 2px solid rgba(150, 105, 70, 0.65) !important;
}

/* ============================================
   EVENTS
=============================================== */

.calendar-page .fc-event {
    background: linear-gradient(
        to bottom,
        rgba(120, 80, 50, 0.45),
        rgba(80, 50, 30, 0.55)
    ) !important;
    border: 1px solid rgba(120, 80, 50, 0.55) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 2px 6px;
    font-family: "Georgia", serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
    cursor: pointer !important;
}

/* ============================================
   FULLCALENDAR TOOLBAR BUTTONS
   Bootstrap 5 theme uses .btn.btn-primary
=============================================== */

.calendar-page .fc-header-toolbar .btn.btn-primary {
    background: linear-gradient(
        to bottom,
        rgba(120, 80, 50, 0.25),
        rgba(80, 50, 30, 0.35)
    ) !important;
    border: 1px solid rgba(120, 80, 50, 0.45) !important;
    color: #3b2a1f !important;
    font-family: "Georgia", serif;
    border-radius: 6px !important;
    padding: 0.35rem 0.75rem !important;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    backdrop-filter: blur(2px);
    box-shadow: none !important;
}

/* Hover */
.calendar-page .fc-header-toolbar .btn.btn-primary:hover {
    background: linear-gradient(
        to bottom,
        rgba(140, 95, 60, 0.35),
        rgba(100, 70, 45, 0.45)
    ) !important;
    border-color: rgba(140, 95, 60, 0.6) !important;
    color: #2a1d15 !important;
    box-shadow: 0 0 8px rgba(120, 80, 50, 0.35) !important;
}

/* Active (selected view) */
.calendar-page .fc-header-toolbar .btn.btn-primary.active {
    background: linear-gradient(
        to bottom,
        rgba(150, 105, 70, 0.40),
        rgba(110, 75, 50, 0.50)
    ) !important;
    border-color: rgba(150, 105, 70, 0.65) !important;
    color: #2a1d15 !important;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(120, 80, 50, 0.35) !important;
}

/* Today button */
.calendar-page .fc-today-button {
    font-weight: bold !important;
}

/* ============================================
   PREV/NEXT ARROWS
=============================================== */

.calendar-page .fc-prev-button .fc-icon,
.calendar-page .fc-next-button .fc-icon {
    display: none !important;
}

.calendar-page .fc-prev-button::before {
    content: "◀";
    font-size: 1rem;
}

.calendar-page .fc-next-button::before {
    content: "▶";
    font-size: 1rem;
}