.calendar-header {
    padding: 12px 32px;
    border: 1px solid #CED4DA;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
#calendar-today-desktop , #calendar-today-mobile {
    height: 40px;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    padding: 10px;
    width: fit-content;
    flex-shrink: 0;
}

#calendar-today-desktop:hover , #calendar-today-mobile:hover {
    opacity: 0.9;
}

#calendar-prev-mobile, #calendar-prev-desktop {
    height: 40px;
    padding: 10px;
}

#calendar-next-mobile, #calendar-next-desktop {
    height: 40px;
    padding: 10px;
}

#calendar-title-desktop, #calendar-title-mobile {
    border-left: 1px solid #CED4DA;
    border-right: 1px solid #CED4DA;
    width: 178px;
    height: 40px;
    padding: 10px;
}

.fc-day-header.fc-widget-header {
    padding: 12px 0 !important;
}

.fc-day-top span {
    float: left !important;
}

td.fc-today span{
    background: #212529;
    border-radius: 16px;
    width: 26px;
    color: #fff;
    text-align: center;
}

.fc-unthemed td.fc-today {
    background: #fff !important;
}

.nameDays-search-wrapper {
    padding: 6px 12px;
    background: #212529;
    border-radius: 6px;
}

.nameDays-search-btn{
    border: none;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.nameDays-top {
    margin-bottom: 36px;
}

.nameDays-filter {
    width: 320px;
}

#namedays-output {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    width: 100%;
}

.nameday-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.nameday-day {
    flex: 1 1 calc(50% - 24px);
    min-width: 140px;
    border-left: 3px #D63384 solid;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nameday-day-header {
    padding: 0 16px;
    font-size: 14px;
}

.nameday-names {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-view-container .fc-body {
    cursor: pointer;
}

#calendar td.fc-today {
    border: 2px solid #c9e5f0ff !important;
    background-color: #c9e5f0ff !important;
}

@media (max-width: 1056px) {
    .calendar-header {
        padding: 12px 16px;
    }
    .nameDays-top {
        margin-bottom: 24px;
    }
    .calendar-header div {
        display: none !important;
    }
    .calendar-header-mobile {
        display: flex !important;
    }

}



@media (max-width: 568px), (min-width: 768px) and (max-width: 992px) {
    .fc-event {
        display: none !important;
    }
    .nameDays-filter {
        width: 244px;
    }
    #calendar-title-desktop, #calendar-title-mobile {
        max-width: 178px;
        width: 100%;
        font-size: 14px;
    }
    #calendar-today-mobile, #calendar-today-desktop {
        font-size: 14px;
    }

}