@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.calendar-modal {
    background-color: #ddddddab;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 0;
    position: fixed;
    top: 0;
    left: 100%;
    opacity: 0;
    box-sizing: border-box;
    transition: opacity 0.1s ease-in-out;
}

.pass-modal {
    background-color: #ddddddab;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
    position: fixed;
    top: 0;
    left: 100%;
    opacity: 0;
    box-sizing: border-box;
    transition: opacity 0.1s ease-in-out;
}

.calendar-modal.show {
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 200;
}

.pass-modal.show {
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 200;
}

.calendar-container {
    font-family: Barlow, sans-serif;
    display: flex;
    flex-direction: column;
}

.calendar-modal .container-new .aside-time-slots-wrapper {
    height: 460px;
    width: 346.8px;
    background-color: white;
    padding: 1rem;
    border-radius: 0 4px 4px 0;
}

.pass-modal .container-new .aside-time-slots-wrapper {
    height: 460px;
    width: 346.8px;
    background-color: white;
    padding: 1rem;
    border-radius: 0 4px 4px 0;
}

.header-aside-heading {
    margin: 1rem 1.5rem;
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    word-spacing: 0.17rem;
    user-select: none;
}

.container-new .time-base-wrapper {
    margin-top: 21px;
    padding: 3px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 2rem;
    height: 87%;
    overflow-y: auto;
    padding-right: 2rem;
    /* -ms-overflow-style: none; */
    /* scrollbar-width: none; */
}

.container-new .time-base-item-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.container-new .time-base-item-date-wrapper .time-base-item-date {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
    background-color: #ffffff;
    color: #888888;
    padding: 0.5rem;
}

.container-new .time-base-item-btn-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    width: 100%;
}

.container-new .time-base-item-btn {
    border: none;
    outline: none;
    border: 1px solid #bd191e3a;
    background-color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center !important;
    font-size: 13px;
    padding: 0.5rem;
    border-radius: 4px;
    color: #000000;
    text-wrap: nowrap;
    user-select: none;
}

.container-new .time-base-item-btn-wrapper .time-base-item-btn.available-time-slot {
    border: 1px solid #bd191e85;
    background-color: #bd191e0a;
}

.container-new .time-base-item-btn-wrapper .time-base-item-btn.disabled-time-slot {
    color: #888888;
    background-color: #88888815;
    border-color: transparent;
    cursor: not-allowed;
    pointer-events: none;
}

.container-new .time-base-item-btn:hover {
    outline: none;
    border: 1px solid #bd191e85;
}

.container-new .container-new {
    display: inline-block;
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px 0 0 4px;
}

.container-new .header-display p {
    color: #000;
    margin: 5px;
    font-size: 14px;
    font-weight: 500;
    word-spacing: 0.17rem;
    user-select: none;
}

.container-new .calendar-days-wrapper {
    height: 276px;
}

.container-new div {
    transition: all 0.2s ease-in-out;
}

.container-new .calendar-days-wrapper,
.container-new .calendar-week-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: auto;
    padding: 0px 20px;
    justify-content: space-between;
    user-select: none;
}

.container-new .calendar-week-wrapper div,
.container-new .calendar-days-wrapper div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5rem;
    width: 3.1em;
    border-radius: 4px;
    margin: 3px;
    cursor: pointer;
    border: 1px solid transparent;
}

.container-new .calendar-week-wrapper div {
    font-weight: 500;
    font-size: 14px;
}

.container-new .calendar-days-wrapper div {
    font-weight: 400;
    font-size: 13px;
}

.selected-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.disabled-date {
    pointer-events: none;
    opacity: 0.4;
}

.custom-calendar>.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 1.5rem;
}

.calendar-header .left,
.calendar-header .right {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    user-select: none;
}

.container-new .display-selected {
    margin: 1rem;
    background-color: #bd191e10;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.calendar-inner-container {
    display: flex;
    height: 100%;
    background-color: white;
}

.calendar-days-wrapper div:not(.disabled-date) {
    position: relative;
}

.calendar-days-wrapper div.active-date {
    border: 1px solid #bd191e85;
    background-color: #bd191e0a;
}

.calendar-days-wrapper div.highlighted-date {
    border: 1px solid #bd191e85;
}

.calendar-days-wrapper div.available-date::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #bd191f99;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.calendar-days-wrapper div:not(.available-date) {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-days-wrapper div.available-date {
    opacity: 1;
}

.base-save-btn {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center !important;
    font-size: 13px;
    padding: 0.5rem;
    border-radius: 4px;
}

.base-cancel-btn {
    border: 1px solid #dddddd;
    outline: none;
    background-color: white;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center !important;
    font-size: 13px;
    padding: 0.5rem;
    border-radius: 4px;
}

.calendar-footer-btn-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0 1rem 1rem 1rem;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
}

.pointer-events-none {
    pointer-events: none;
}

.container-new {
    position: relative;
}

.container-new::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 17px;
    width: 6%;
    height: 6%;
    background-color: #ffffff;
    border-radius: 4px;
    rotate: 44deg;
    z-index: 0;
}

.calendar-error-wrapper {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.calendar-error-wrapper .error-message {
    margin: 0;
}

.display-selected-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 10px;
}

.calendar-start-date-wrapper,
.calendar-end-date-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.calendar-start-date,
.calendar-end-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.error-shake {
    animation: horizontal-shaking 0.25s linear infinite;
}

@keyframes horizontal-shaking {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(5px);
    }

    50% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

.save-calendar-btn,
.cancel-calendar-btn {
    border: none;
    outline: none;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center !important;
    font-size: 13px;
    padding: 0.5rem;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.cancel-calendar-btn {
    border: 1px solid #dddddd;
    background-color: white;
    color: #000000;
}

.save-calendar-btn {
    background-color: #bd191f;
    border: 1px solid #bd191f;
    color: #ffffff;
}

.transition {
    transition-timing-function: cubic-bezier(0.58, 0.3, 0.005, 1);
    transition: 0.3s;
}

.text-red-500 {
    color: rgb(239 68 68);
}

.hidden {
    display: none;
}

@media only screen and (max-width: 880px) {
    .calendar-modal .calendar-container {
        max-height: 600px;
        overflow-y: auto;
        position: relative;
    }

    .pass-modal .calendar-container {
        max-height: 600px;
        overflow-y: auto;
        position: relative;
    }

    .calendar-inner-container {
        flex-direction: column;
    }

    .display-selected-wrapper {
        flex-direction: column;
        gap: 3px;
        padding: 3px 0;
    }

    .calendar-start-date,
    .calendar-end-date {
        margin: 5px;
    }

    .calendar-modal .container-new .aside-time-slots-wrapper {
        width: auto;
    }

    .pass-modal .container-new .aside-time-slots-wrapper {
        width: auto;
    }

    .container-new .time-base-wrapper {
        padding: 1rem;
    }

    .container-new .time-base-wrapper {
        scrollbar-width: none;
    }

    .calendar-footer-btn-wrapper {
        position: sticky;
        bottom: 1px;
        padding-top: 0.6rem;
    }
}

@media only screen and (max-width: 476px) {
    .calendar-footer-btn-wrapper {
        flex-direction: column;
        gap: 0.4rem;
    }

    .container-new .calendar-week-wrapper div,
    .container-new .calendar-days-wrapper div {
        height: 2.8rem;
        width: 2rem;
    }
}

@media only screen and (max-width: 373px) {
    .calendar-container .container-new {
        padding: 0;
    }

    .display-selected,
    .calendar-footer-btn-wrapper,
    .calendar-error-wrapper {
        margin: 0rem;
    }
}

.highlighted-range {
    background-color: #bd191e0a;
}




.custom-pass-read-more-btn {
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    text-wrap: nowrap;
    user-select: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 11px 21px;
    display: flex !important;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
}

.custom-pass-tab-heading {
    color: #555;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.selected-date-time {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.40);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 5px 20px;
    background: linear-gradient(0deg, rgba(219, 0, 0, 0.06) 0%, rgba(219, 0, 0, 0.06) 100%), #FFF;
}

.selected-date-time span {
    color: #353535;
    font-family: Barlow;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.text-start {
    text-align: start;
}

.os-table {
    margin-top: 1rem;
    background-color: #f5f5f5;
}

.os-table-head {
    border-bottom: 0.5px solid rgba(68, 68, 68, 0.80);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 100%), #FFF;
}

.os-table-head p {
    padding: 4px 10px;
}

.os-table-body p {
    color: #444;
    font-family: "Barlow Condensed";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 4px 10px;
}