.starrezCalendar {
    min-width: 300px;
    display: grid;
    gap: 20px;
    user-select: none;
    justify-content: center;
}

@media (min-width: 800px) {
    .starrezCalendar {
        gap: 37px;
    }
}

/*//Remove when removing FF PXAccessibilityEnableAppointmentsCalendarAccessibilityFeatures STAR- 35612*/
.starrezCalendar table {
    width: 100%;
    border-spacing: 2px;
    border-collapse: separate;
}

.starrezCalendar ol {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

    .starrezCalendar ol li {
        list-style: none;
        text-align: center;
    }

        .starrezCalendar ol li.starrezCalendar_header_day {
            font-style: normal;
            font-weight: 500;
            font-size: 10px;
            line-height: 130%;
            text-align: center;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #12374e;
            padding-bottom: 7px;
        }

/*//Remove when removing FF PXAccessibilityEnableAppointmentsCalendarAccessibilityFeatures STAR- 35612*/
.starrezCalendar table thead th {
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 130%;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #12374e;
    padding-bottom: 7px;
}

/*//Remove when removing FF PXAccessibilityEnableAppointmentsCalendarAccessibilityFeatures STAR- 35612*/
.starrezCalendar table tbody td {
    text-align: center;
}

@media (min-width: 500px) {
    .starrezCalendar ol li {
        padding: 4px;
    }

    /*//Remove when removing FF PXAccessibilityEnableAppointmentsCalendarAccessibilityFeatures STAR- 35612*/
    .starrezCalendar table tbody td {
        padding: 4px;
    }
}

.starrezCalendar_button {
    padding: 0;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: none;
    border: none;
    font-size: 14px;
    color: #0341e0;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    transition: all ease-in-out 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .starrezCalendar_button.today:after {
        content: " ";
        width: 20px;
        height: 2px;
        position: absolute;
        border-bottom: 2px solid #d22866;
        bottom: 8px;
        left: 9px;
    }

    .starrezCalendar_button.has-data {
        background: #ebf6ff;
    }

    .starrezCalendar_button:hover {
        background: #F6F8FA;
    }

    .starrezCalendar_button.current {
        background: #0052cc;
        color: white;
    }

        .starrezCalendar_button.current.today:after {
            border-bottom-color: white;
        }

    .starrezCalendar_button.previous,
    .starrezCalendar_button.previous.current:focus {
        border: 1px solid #d22866;
    }

    .starrezCalendar_button:focus {
        outline: none;
        border: 1px solid #0052cc;
    }

    .starrezCalendar_button.current:focus:before {
        content: "";
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        border-radius: 50%;
        background: none;
        border: 1px solid white;
        position: absolute;
        top: 1px;
    }

.starrezCalendar_header {
    display: grid;
    grid-template-columns: 1fr 40px auto 40px;
    align-items: center;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #072131;
}

.starrezCalendar_header_button {
    height: 40px;
    min-width: 40px;
    padding: 0 8px;
    margin: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #12374e;
    border-radius: 5px;
    display: grid;
    align-items: center;
    justify-content: center;
    outline: 0;
}

    .starrezCalendar_header_button:not([disabled]):hover {
        background: #F6F8FA;
    }

    .starrezCalendar_header_button[disabled] {
        color: #C4C9D2;
        cursor: not-allowed;
    }
