
.main-container {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
.div {
    background-color: #ffffff;
    overflow: hidden;
    width: 1080px;
    height: 1920px;
    overflow-y: auto;
    position: relative;
}
.arabic{
    left: 540px;
    position: absolute;
    top: 40px;
    cursor: pointer;
}

.main-container .div::-webkit-scrollbar {
    display: none;
}

.main-container .overlap {
    position: absolute;
    width: 1024px;
    height: 163px;
    top: 0;
    left: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.main-container .calendar-container {
    max-width: 400px;
    margin: 20px auto;
}

/* Фон календаря */
.main-container .flatpickr-calendar {
    background-color: #f9f5f1;
    border: 1px solid #e0dcd5;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    width: 0 !important;
    height: 0 !important;
}

/* Время */
.flatpickr-time {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #7a6458;
}

/* Кнопки Clear и Today */
button {
    background-color: transparent;
    color: black;
    border: none;
    font-size: 14px;
    cursor: pointer;
}
button:hover {

}

.main-container .text-wrapper {
    top: 115px;
    left: 790px;
    font-family: "Gilroy-Medium", Helvetica;
    font-weight: 500;
    font-size: 24px;
    text-align: right;
    white-space: nowrap;
    position: absolute;
    color: #000000;
    letter-spacing: 0;
    line-height: Truepx;
}

.main-container .layer {
    position: absolute;
    width: 57px;
    height: 57px;
    top: 40px;
    left: 923px;
}

.main-container .img {
    left: 846.52px;
    position: absolute;
    width: 57px;
    height: 57px;
    top: 40px;
}

.main-container .layer-2 {
    left: 769.76px;
    position: absolute;
    width: 57px;
    height: 57px;
    top: 40px;
}

.main-container .layer-3 {
    left: 693px;
    position: absolute;
    width: 57px;
    height: 57px;
    top: 40px;
}

.main-container .rus {
    left: 616px;
    position: absolute;
    width: 57px;
    height: 57px;
    top: 40px;
}

.main-container .master-logos {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 38px;
    left: 44px;
}
.main-container .arrow-right {
    position: absolute;
    top: 301.5px;
    left: 735.5px;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
}
.main-container .text-wrapper-1 {
    top: 62px;
    left: 164px;
    font-family: "Gilroy-SemiBold", sans-serif;
    font-weight: 600;
    font-size: 40px;
    position: absolute;
    color: #000000;
    letter-spacing: 0;
    line-height: Truepx;
    white-space: nowrap;
}

/* Основной контейнер */
.flatpickr-calendar {
    background-color: #f9f5f1;
    border: 1px solid #e0dcd5;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Навигация по месяцам */
.flatpickr-months {
    padding-top: 20px;
    width: 462px;
    height: 68px;
    text-align: center;
    position: absolute;
    top: 270px;
    left: 512px;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    cursor: pointer;
    color: #c97350;
    font-size: 18px;
    margin-top: 20px;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: #7a6458;
}

/* Дни недели */
.flatpickr-weekdays {
    background: var(--Border-colour-Alpha-border-primary, rgba(0, 0, 0, 0.05));
    color: #757575;
    font-size: 15.954px;
    font-weight: 600;
    height: 38px;
    font-family: Gilroy-Medium, sans-serif;
    line-height: normal;
    justify-content: center;
}

.flatpickr-weekday {
    width: 65px;
    height: 38px;/* Равномерное распределение на 7 дней */
    text-align: center;
    display: flex;
    padding: 9.441px 19px 9.559px 18px;
    justify-content: center;
    align-items: center;
}

/* Ячейки дней */
.flatpickr-day {
    display: flex;
    width: 65px !important;
    max-width: 65px;
    height: 64px !important;
    line-height: 40px;
    text-align: center;
    margin: 2px;
    border-radius: 50%;
    cursor: pointer;
    color: #7a6458;
    padding: 17.549px 25.526px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12.763px;
    flex-shrink: 0;
    color: #424242;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.flatpickr-day:hover {
    background-color: #f3e8dc;
    color: #7a6458;
}

/* Выбранная дата */
.flatpickr-day.selected {
    background-color: #B98755;
    color: white;
    border-radius: 50%;
}

/* Даты, которые нельзя выбрать */
.flatpickr-day.disabled {
    color: #d1c7be;
    background-color: #f9f5f1;
    cursor: not-allowed;
}

/* Диапазон дат */
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    fill: #B98755;
    color: white;
    border-radius: 50%;
}

.flatpickr-day.inRange {
    background-color: #f3e8dc;
    color: #424242;
    z-index: -1;
    box-shadow: none;
}

.flatpickr-day.today {
    border-color: #B98755;
}
/* Панель времени */
.flatpickr-time {
    background-color: #ffffff;
    border-top: 1px solid #e0dcd5;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #7a6458;
}

.flatpickr-current-month {
    font-size: 135%;
    line-height: inherit;
    font-weight: 300;
    color: inherit;
    width: 75%;
    padding: 7.48px 0 0 0;
    line-height: 1;
    height: 34px;
    display: inline-block;
    text-align: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


.main-container .overlap-group {
    height: 411px;
    top: 1500px;
    position: absolute;
    width: 1080px;
    left: 0;
}
.main-container .rectangle {
    position: absolute;
    width: 1080px;
    height: 175px;
    top: 236px;
    left: 0;
    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            rgb(255, 255, 255) 100%
    );
}

.main-container .rectangle-2 {
    position: absolute;
    width: 446px;
    height: 100px;
    top: 274px;
    left: 55px;
    background-color: #424242;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container .rectangle-3 {
    position: absolute;
    width: 446px;
    height: 100px;
    top: 274px;
    left: 580px;
    background-color: #424242;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container .text-wrapper-5 {
    font-family: Gilroy-Bold, sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 50px;
    letter-spacing: 0;
    white-space: nowrap;
}

.main-container .text-wrapper-6 {
    position: absolute;
    top: 293px;
    left: 700px;
    z-index: 9999;
    font-family: "Gilroy-Bold", sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 50px;
    letter-spacing: 0;
    line-height: Truepx;
    white-space: nowrap;
}

.flatpickr-innerContainer {
    position: absolute;
    top: 368px;
    left: 70px;
    width: 937px;
    height: 370px;
    display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.flatpickr-rContainer{
    width: 100%;
    height: 100%;
}

.flatpickr-days{
    width: 937px !important;
    gap: 26px;

}

.flatpickr-weekdaycontainer{
    margin-right: 26px;
}

.flatpickr-weekdaycontainer:last-child{
    margin-right: 0;
}

.dayContainer{
    width: 100%;
    max-width: 937px;
    outline: 0;
    text-align: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: grid !important;
    grid-template-columns: repeat(7, 65px) !important;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/*.numInputWrapper{*/
/*    position: absolute;*/
/*    top: 269px;*/
/*    left: 52.5px;*/
/*}*/

.clear_button{
    width: 140px;
    height: 69px;
    position: absolute;
    top: 188px;
    left: 379px;
    padding-left: 65.5px;
    color: var(--Text-colour-System-text-error, #E53935);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.cross{
    position: absolute;
    top: 207px;
    left: 394.86px;
    display: flex;
    padding: 10.42px;
    justify-content: center;
    align-items: center;
}
.today_button{
    width: 146px;
    height: 69px;
    position: absolute;
    top: 188px;
    left: 540px;
    display: inline-flex;
    padding-left: 65.5px;
    justify-content: center;
    align-items: center;
    color: var(--Text-colour-Solid-text-primary, #424242);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.arrow{
    position: absolute;
    top: 207px;
    left: 567.86px;
    display: flex;
    padding: 8.932px 8.931px 8.931px 8.932px;
    justify-content: center;
    align-items: center;
}

.flatpickr-current-month span.cur-month {
    display: inline-block;
    margin-left: .5ch;
    padding: 0;
    color: #424242;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 24px;
    font-weight: 600;
}


.calendar-year {
    position: absolute;
    top: 288px;
    left: 78px;
    display: flex;
    padding: 19.145px 20px 19.145px 25.526px;
    justify-content: center;
    align-items: center;
    width: 145px;
    height: 66px;
}

.cur-year { /* Расположите как нужно */
    font-size: 24px;
    color: #424242;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.arrows{
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arrowUp,
.arrowDown {
    cursor: pointer;
    width: 25.526px;
    height: 25.526px;
}

.arrowUp {
    background-image: url('/static/img/arrow_up.svg');
}

.arrowDown {
    background-image: url('/static/img/arrow_down.svg');
}


.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: #B98755;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    border-color: #B98755;
}

.time-button-container {
    position: absolute;
    top: 825px;
    left: 260px;
    display: inline-flex;
    width: 549px;
    height: 75px;
}

.time-btn {
    width: 183px;
    height: 75px;
    padding: 10px 15px;
    background: #f9f9f9;
    cursor: pointer;
    transition: background 0.3s;
    color: #424242;
    text-align: center !important;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.time-btn.active {
    background: rgba(185, 135, 85, 0.20);
    color: #B98755;

}

.time-section-container {
    position: absolute;
    top: 939px;
    left: 185px;
    height: 151px;
}

.time-option {
    display: none;
}

.time-option.active {
    display: flex;
    flex-direction: row;
    gap: 93px;
    height: 151px;
}

.time-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 330px;
    height: 114px;
    margin-top: 37px;
}

.time-input {
    border: 1px solid #cccccc00;
    padding: 5px;
    border-radius: 5px;
    width: 100px;
    z-index: 9999;
}

.time-period {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    z-index: 9999;
}

.select-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 778px;
    left: 70px;
    width: 936px;
    height: 23px;
}

.select-text{
    flex-shrink: 0;
    color: #424242;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.time-period-container {
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.time-period-btn {
    width: 102px;
    height: 57px;
    flex-shrink: 0;
    background: #FFFFFF;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.time-period-btn.active {
    background-color: #B98755;
    color: white;
}

.time-period-btn:hover {
    background-color: #e0e0e0;
}

input[type="hidden"] {
    display: none;
}

.time-period-btn:first-child {
    border-radius: 0px 20px 0px 0px; /* Закругление верхних углов */
}

.time-period-btn:last-of-type {
    border-radius: 0px 0px 20px 0px; /* Закругление нижних углов */
}

.time-start{
    position: absolute;
    z-index: 9999;
    color: var(--Text-colour-Solid-text-primary, #424242);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.time-end{
    position: absolute;
    left: 425px;
    z-index: 9999;
    color: var(--Text-colour-Solid-text-primary, #424242);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#specific-hour {
    margin-left: 35%;
}

input[type="number"] {
    display: flex;
    width: 104px;
    height: 98px;
    padding: 27px 20px;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    color: var(--Text-colour-Solid-text-primary, #424242);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.next-button {
    z-index: 9999;
    color: #FFF;
    font-family: Gilroy-Bold, sans-serif;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.lang-overlay{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    position: absolute;
    top: 40px;
    left: 490px;
    cursor: pointer;
    direction: ltr !important;
}

.kz{
    width: 64px;
    height: 64px;
}