.booking-wrapper {
    display: flex;
    background: #fff;
    overflow: hidden;
    border:1px solid #CACBCC;
    box-shadow: 0px 2px 2px 0px #00000014;
    direction: rtl;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 24px;
}
.booking-sidebar {
    width: 35%;
    padding: 20px;
    border-right: 1px solid #CACBCC;
}
.timezone {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.timezone .today-now span{
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 16px;
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: 30px;
    color: var(--e-global-color-text);
}
.timezone .location-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}
.timezone .global-area {
    display: flex;
    align-items: center;
    gap: 5px;
}
.timezone #timezone-display{
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    color: var(--e-global-color-primary);
}

.time-slots{
    overflow-y: auto;
    max-height: 450px;
}
.time-slots button {
    display: block;
    width: 100%;
    margin: 5px 0;
    border: 1px solid #CACBCC;
    border-radius: 8px;
    background: var(--e-global-color-accent);
    cursor: pointer;
    color: var(--e-global-color-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.time-slots button:focus,
.time-slots button:hover,
.time-slots button.active {
    border-color: var(--e-global-color-primary);
    background: rgba(236, 248, 254, 0.5);
    color: var(--e-global-color-secondary);
}
.booking-calendar {
    width: 65%;
    padding: 25px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px;
}
.calendar-header .current-month{
    font-size: 20px;
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: 36px;
    color: var(--e-global-color-text);
}
.calendar-header .switch-month span {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.calendar-header .switch-month span:hover{
    background: rgba(236, 248, 254, 0.5);
}
.calendar-header .switch-month span:last-child{
    margin: 0;
}
.calendar-days{
    padding: 20px 0;
}
.calendar-days-mobile{
    display: none;
}
.calendar-days,
.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    place-items: center;
}
.calendar-days .day {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    margin: 0 3px;
    color: var(--e-global-color-secondary);
}
.calendar-dates button {
    border: none;
    color: var(--e-global-color-secondary);
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 5px 3px;
    background: #F5F5F5;
    border-radius: 50%;
    cursor: pointer;
    border:1px solid transparent;
}
.calendar-dates button:focus,
.calendar-dates button:hover,
.calendar-dates button.active {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-accent);
    border-color:var(--e-global-color-primary);
}
.calendar-dates button:hover {
    background: rgba(236, 248, 254, 0.5);
    color: var(--e-global-color-secondary);
    border-color:var(--e-global-color-primary);
}
.calendar-dates button.disabled-day {
    opacity: 0.4;
    pointer-events: none;
    background: none;
}
#booking-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    display: none;
}

#booking-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    width: 90%;
    font-family: var(--e-global-typography-primary-font-family);
    max-width: 400px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
}

#booking-popup.active {
    opacity: 1;
    animation: customfadeInUp 0.6s ease forwards;
}

#booking-popup h3 {
    text-align: center;
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}
#booking-popup .label{
    margin-bottom: 10px;
}

#booking-popup input,
#booking-popup textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #CACBCC;
    border-radius: 50px;
    background: transparent;
    font-size: 15px;
    direction: rtl;
}
#booking-popup input:hover,
#booking-popup textarea:hover,
#booking-popup input:focus,
#booking-popup textarea:focus {
    border: 1px solid var(--e-global-color-primary);
    outline: none;
}
#booking-popup textarea {
    border-radius: 15px;
}
#popup-buttons{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
#booking-popup button[type="submit"] {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-accent);
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

#booking-popup button[type="button"] {
    background: none;
    border: none;
    color: var(--e-global-color-primary);
    font-size: 16px;
    cursor: pointer;
}
#booking-popup button[type="button"]:hover{
    text-decoration: underline;
}

@keyframes customfadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 30%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.error-msg,
.success-msg {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
    color: #D8000C;
    background-color: #FFBABA;
    border-radius: 24px;
}
.success-msg{
    color: #270;
    background-color: #DFF2BF;
}

#booking-success-modal {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-success-content {
    font-family: var(--e-global-typography-primary-font-family);
    background: var(--e-global-color-accent);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    max-width: 388px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.booking-success-content img{
    margin-right: 35px;
}
.booking-success-content h2 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    line-height: 36px;
    color: var(--e-global-color-secondary);
}

.booking-success-content p {
    color: #656466;
    font-weight: 400;
    font-size: 13px;
    line-height: 26px;
}

.close-success-modal {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 14px;
    color: var(--e-global-color-primary);
    cursor: pointer;
    border: 1px solid var(--e-global-color-primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.day-short {
    display: none;
}
@media (max-width: 767px) {
    .day-full {
        display: none;
    }
    .day-short {
        display: inline;
    }
    .booking-wrapper{
        flex-direction: column;
    }
    .booking-wrapper .booking-calendar,
    .booking-wrapper .booking-sidebar{
        width: 100%;
    }
    .booking-wrapper .calendar-header{
        padding: 0 25px;
    }
    .booking-wrapper .booking-calendar{
        padding: 25px 0;
    }
    .booking-wrapper .booking-sidebar{
        border:none;
        border-top: 1px solid #CACBCC;;
    }
    .timezone{
        flex-direction: row-reverse;
    }
    .calendar-dates button {
        font-size: 14px;
        width: 36px;
        height: 36px;
    }

}
