.calendar {
    width: 212px;
}
.calendar-header-text {
    font-size: 14px;
    font-weight: 500;
    margin: auto;
}
.calendar-body-row {
    /* display: flex; */
}
.calendar-body {

}
.calendar-date-name {
    font-weight: 500;
    color: var(--sailia-gray-3);
    cursor: default!important;
    margin-bottom: -5px!important;
}
.calendar-date-name:hover {
    background-color: transparent!important;
}
.calendar-header {
    display: flex;
    align-items: center;
    width: 212px;
}
.calendar-header-button-arrow {
    width: auto;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin-left: 12px;
}
.calendar-header-button-arrow-right {
    transform: rotate(180deg);
    margin-left: 0px;
    margin-right: 14px;
}
.next-month, .previous-month {
    color: var(--sailia-gray-4);
}
.calendar-body-row {
    display: grid;
    grid-template-columns: repeat(7, max-content);
    border-radius: 15px;
}
.highlight-week {
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}
.highlight-week:hover {
    background-color: var(--sailia-teal-4);
}
.highlight-week-selected {
    background-color: var(--sailia-teal-4);
    color: var(--sailia-teal-1);
    font-weight: 500;
}
.calendar-body-cell {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin: 2px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}
.calendar-has-day-data::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: var(--sailia-teal-2);
    position: absolute;
    transform: translate(0%, 200%);
    transition: all 0.1s ease-in-out;
}
.calendar-body-cell:hover {
    background-color: var(--sailia-teal-4);
}
.calendar-body-cell:hover::after {
    display: none;
}
.calendar-body-cell-inner {
    font-size: 11px;
    white-space: nowrap;
}
.selected-day {
    background-color: var(--sailia-teal-4)!important;
    color: var(--sailia-teal-1)!important;
    font-weight: 500;
}
.selected-day::after {
    display: none;
}
.range-day {
    margin-left: 0px;
    margin-right: 0px;
    padding-right: 2px;
    padding-left: 2px;
    border-radius: 0px;
}
.range-day-first {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.range-day-last {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.calendar-range-inputs {
    display: flex;
    max-width: 212px;
    margin-top: 1rem;
    gap: 0.1rem;
    align-items: center;
}
.calendar-range-input{
    width: 50%;
    margin: 0rem!important;
}
.calendar-range-input-seperator {
    font-size: 1.4rem;
    font-weight: 200;
}
.current-day {
    background-color: var(--sailia-teal-2);
    color: var(--sailia-gray-7);
}
.current-day::after {
    display: none;
}
.current-day:hover {
    background-color: var(--sailia-teal-1);
}
.calendar-has-busy-day {
    background-color: var(--sailia-teal-2);
    color: var(--sailia-gray-7);
}
.calendar-has-busy-day-greyedout {
    background-color: var(--sailia-gray-4);
    color: var(--sailia-gray-7);
}
.calendar-has-busy-day-amber {
    background-color: var(--sailia-amber-2);
    color: var(--sailia-gray-7);
}
.calendar-collapsed {
    height: 0px;
    overflow: hidden;
    display: none;
}
/* if mobile then make the calendar responsive to the mobile device size  - 500px or smaller*/
@media screen and (max-width: 500px) {
    .calendar {
        width: 100%;
    }
    .calendar-header {
        width: 100%;
        justify-content: space-evenly;
    }
    .calendar-header-text {
        font-size: 17px;
        margin: 0px;
    }
    .calendar-body {
        width: 100%;
    }
    .calendar-body-row {
        display: flex;
    }
    .calendar-body-cell {
        width: auto;
        height: auto;
        aspect-ratio: 1/1;
        flex: 1 1 0px;
        margin: 3px;
        border-radius: 16px;
    }
    .calendar-body-cell-inner {
        font-size: 14px;
    }
    .calendar-header-button-arrow {
        padding: 10px;
    }
}
.calendar-header-button-hidden {
    display: none;
}