/* - page title - */
.page-main-title {
    padding: 0.75rem;
}
.page-main-title .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 0.75rem;
    border-radius: var(--bs-border-radius-sm);
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-border-color);
}
.page-main-title h1 {
    font-size: 1rem;
    margin-bottom: 0;
}
.page-main-actions {
    gap: 1rem;
}
.page-main-actions.position-sticky {
    margin-right: -1rem;
    margin-left: -1rem;
    padding: .5rem 1rem;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.05);
    background-color: var(--bs-white);
}
.page-main-actions.position-sticky:not([class^="col-"]):not([class*=" col-"]) {
    width: auto;
}

/* - dashboard calendar - */
.fc .fc-daygrid-body,
.fc .fc-scrollgrid-section table {
    max-width: 100%;
}
.fc .fc-toolbar.fc-header-toolbar {
    align-items: end;
}
.fc .fc-toolbar-title {
    margin-bottom: 1rem;
}
.fc-direction-ltr .fc-toolbar > * > button:first-of-type {
    margin-left: 0;
}
.fc .fc-button {
    border-radius: 5px;
}
.fc a.fc-col-header-cell-cushion,
.fc a.fc-daygrid-day-number {
    text-decoration: none;
}
.fc-event-main{
    cursor: pointer;
}
.fc-h-event .fc-event-time {
    max-width: 100%;
    overflow: unset;
}
.fc-event{
    padding: 2px;
}

@media (max-width: 1199.98px) {
    .header-wrapper {
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.05);
    }
}

@media (min-width: 992px) {
    .page-main-title .icon-wrapper {
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
    .page-main-title h1 {
        font-size: 1.5rem;
    }
}
