.pmi-nosidebar {
    padding-left:0;
}

/* A page puts pmi-side-menu-hidden on <body> to take the side menu's width on desktop; below lg it's a drawer. */
@media (min-width: 992px) {
    .pmi-side-menu-hidden #kt_aside {
        display: none;
    }
    .pmi-side-menu-hidden #kt_wrapper {
        padding-left: 0;
    }
}

/* Add bottom padding to content area so content doesn't slam against viewport bottom */
#kt_content {
    padding-bottom: 2rem;
}

/*
 * FullCalendar theming — applies to every calendar (current and future) via
 * FullCalendar's own classes, so individual calendars need no CSS of their
 * own. Loaded after the FullCalendar bundle. The double class
 * (.fc.fc-theme-standard) is needed to outrank FullCalendar's own default
 * variable declarations, which already sit above a single .fc selector.
 * Semantic Bootstrap variables only, so both light and dark themes adapt.
 */
.fc.fc-theme-standard {
    /* Default translucent-yellow today highlight reads as a muddy green on the
       dark backdrop and collides with success/warning/danger pills. */
    --fc-today-bg-color: rgba(var(--bs-primary-rgb), 0.18);
    /* Sticky day-of-week header band defaults to #ffffff — a white strip in
       dark mode. Follow the card surface so it blends in both themes. */
    --fc-page-bg-color: var(--bs-card-bg);
}

/* Day-of-week labels are hardcoded #252f4a (invisible once the band goes dark).
   --bs-gray-800 is that exact color in light mode and inverts to a readable
   light gray in dark mode. */
.fc .fc-col-header-cell-cushion {
    color: var(--bs-gray-800);
}
