section {
    margin-top: 150px;
}

#iB-widget--pc {
    position: relative;
}


#iB_widget--container {

    /*position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    background: white;
    border-bottom: 1px solid #dadadd;*/
}

.user_chosen {
    font-weight: 600 !important;
}

.not_selected{
    border: 1px solid red !important;
}


.datepicker__month-day--today.disabled_current_day {
    background-color: transparent;
    color: inherit;
}

.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
    background-color: #9c1a3f !important;
    color: #fff;
}

/* #check_form .widget--search--input   {
    font-weight: bolder;
} */

#check_form .iB-widget--pc {
    position: relative;
}

#check_form #rooms,
#check_form #destination {
    position: relative;
}

#rooms--guest_quantity {
    position: relative;
}

#dropdown_room_modal,
#dropdown_location_modal,
#dropdown_promo_modal {
    position: absolute;
    background-color: white;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
    /* margin-top: 10px; */
}

#dropdown_promo_modal {
    right: 16%;
    padding: 20px 35px;
    width: 26%;
}

#dropdown_promo_modal .modal_footer {
    margin-top: 30px;
    display: flex;
    justify-content: end;
    gap: 10px;
}

#dropdown_promo_modal .modal_footer button {
    padding: 5px 15px;
    font-weight: 700;
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}

#dropdown_promo_modal .promo_option {
    padding: 15px 30px;
}

#dropdown_promo_modal .promo_code--input {
    margin-top: 15px;
}

#dropdown_promo_modal .promo_code--input input {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

#dropdown_room_modal_old {
    /* left: 50%; */
    padding: 20px;
    width: 380px;
    max-height: 250px;
    overflow: scroll;
    border-radius: 8px;
    top: 65px;
}

#dropdown_room_modal {
    padding: 20px;
    width: 380px;
    max-height: 250px;
    overflow-y: auto;         /* chỉ cuộn dọc khi cần */
    overflow-x: hidden;       /* chặn cuộn ngang */
    border-radius: 8px;
    top: 65px;

    /* Ẩn scrollbar trên mọi trình duyệt */
    -ms-overflow-style: none;  /* IE và Edge cũ */
    scrollbar-width: none;     /* Firefox */
}
#dropdown_room_modal::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Edge mới, Opera */
}

#dropdown_location_modal {
    padding: 20px;
    left: 30px;
    padding-bottom: 40px;
    width: 30%;
}

#dropdown_location_modal .modal_footer {
    margin-top: 30px;
    display: flex;
    justify-content: end;
    gap: 10px;
}

#dropdown_location_modal .modal_footer button {
    padding: 5px 15px;
    font-weight: 700;
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}

#dropdown_room_modal .reserve_room--action {
    align-items: center;
}

#dropdown_room_modal .reserve_room--action button,
#dropdown_room_modal .reserve_infant button,
#dropdown_room_modal .reserve_guest button,
#dropdown_room_modal .bookingChild button {
    width: 40px;
    text-align: center;
}

#dropdown_room_modal .reserve_room,
#dropdown_room_modal .reserve_guest,
#dropdown_room_modal .reserve_infant,
#dropdown_room_modal .bookingChild {
    align-items: baseline;
}

#dropdown_room_modal .reserve_room--title,
#dropdown_room_modal .reserve_guest--title,
#dropdown_room_modal .reserve_child--title {
    flex: 0 0 35%;
}

#dropdown_datepkr_modal {
    background-color: white;
}

#dropdown_room_modal button {
    background-color: var(--main-color);
}

.promo--code--input {
    border-radius: 6px;
    border-color: #f5f5f5;
    height: 48px;
    font-size: 20px;
}

.promo--code--input .input-group-text {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.ib--widget--label {
    font-size: 12px;
}

.iB-widget--pc {
    padding: var(--spacing3x);
    background: #fff;
    border-radius: 14px;
    border: 2px solid rgb(156 26 63 / 16%);
    /* margin-top: var(--spacing3x); */
    margin-top: 12px;
    box-shadow: 0 0 10px 0 #eaeaea;
    transition: all 0.3s ease;
}

.hotels--header--bottom.active #iB_widget--container {
    background: #fff;
    box-shadow: 0 0 10px 0 #ccc;
}

.hotels--header--bottom.active .iB-widget--pc {
    margin-top: 1px;
    padding: 5px;
    border: none;
    box-shadow: none;
}

.iB-widget--pc .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 0 20px 20px 0;
}

.iB-widget--pc .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: 20px 0 0 20px;
}

/* .modal-backdrop.fade.show {
    z-index: -1;
} */

.init_shadow {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
}

.modal_footer {
    display: none !important;
}


.ib--widget--expand_trigger {
    text-align: center;
    display: none;
}

.dropdown_modal--btn_container {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-bottom: 10px;
}

.dropdown_modal--save_modal i {
    padding: 10px;
    color: #fff;
    background-color: #666;
    border-color: #666f;
    border-radius: 5px;
}

.dropdown_modal--close_modal i {
    padding: 10px;
    color: #fff;
    background-color: #9c1a3f;
    border-color: #9c1a3f;
    border-radius: 5px;
}

.dropdown_modal--title {
    font-size: 20px;
    display: none;
}


.search--result {
    cursor: pointer;
}

.widget--booking--top {
    /*margin-top: 50px;*/
    /*align-items: center;*/
    margin: 0;
}

/* hotel_datepicker */
/* #dropdown_datepkr_modal {

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
} */


#date--check {

    min-height: 48px;

}

#datepicker-date--check {
    height: unset !important;
}

.dropdown_datepicker--container {
    display: flex;
    justify-content: space-around;
}

/* .datepicker__buttons {
    display: none;
} */


#close-date--check {
    background: var(--main-color);
}

#cancel-reservation {
    margin: auto 0;
}

#cancel-reservation span {

    font-size: 14px;
    color: blue;
    font-weight: 500;
    padding-left: 16px;

}

.datepicker__month-day--selected.datepicker__month-day--first-day-selected,
.datepicker__month-day--selected.datepicker__month-day--last-day-selected {
    background-color: var(--main-color) !important;
}

.datepicker__month-day--selected {
    background-color: #8f7c72 !important;
}

/* end hotel_datepicker */

.dropdown_modal--btn_container {
    display: none;
}

#datepicker-date--check {
    left: 30%;
    top: 95px;
}

button[data-action="minus"],
button[data-action="plus"] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_footer_datepkr {
    display: none;
}

.modal_footer_datepkr button {
    border: 1px solid var(--main-color);
    background: var(--main-color);
    color: white;
}

.iB_mobile--info_destination {

    font-size: 16px;

}

.hotels--middle {
    margin-top: 310px;
}


/* .child_age--container{
    max-height: 150px;
    overflow: scroll;
} */

.dropdown_modal--title {
    display: none !important;
}

div[data-modal='modal'] .modal_header {
    display: none !important;
}

/* stee update */
.widget--search--input {}

.modal--search {
    position: absolute;
    width: 500px;
    background: #fff;
    height: fit-content !important;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 4px 10px 0px #bfbfbf;
    display: none;
    z-index: 2;
    top: 65px;
}

.modal--search--head {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.modal--search--head h3 {
    margin: 0;
    font-weight: 300;
    font-size: 20px;
}

.modal--search--body {
    padding: 10px;
    border: 1px solid #ccc;
}

.search--results--head {
    color: #888;
}

.search--result {
    display: flex;
    color: #000;
    padding: 10px;
    border-top: 1px solid #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    align-items: center;
    gap: 5px;
    ;
}

.search--result--icon {
    width: 26px;
    filter: contrast(0.3);
}

.search--result[data-type="brand"] .search--result--icon {
    padding: 2px;
}

.search--result:hover {
    background: #9c1a3f5e;
    color: #000;
    /*font-weight: 800;*/
    transition: all 0.3s ease;
}

.search--result:hover .search--result--name {
    transition: all 0.3s ease;
    font-weight: 400;
}

.search--result:hover .search--result--icon {
    filter: contrast(1);
}

.widget--search--input,
.widget--promo--input {
    border-left: none;
    padding-left: 0;
    font-weight: 300;
    font-size: 16px;
    border-color: #f5f5f5;
    background: #f5f5f5;
}

.widget--search--group .input-group-text,
.widget--promo--input .input-group-text {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.widget--search--group,
.widget--promo--input {
    height: 48px;
}

.widget--search--input:placeholder,
.widget--promo--input:placeholder {
    color: #888;
    font-size: 16px;
}


#destination button,
#datepicker button,
#rooms button,
#coupon button,
#check_availability_button {
    width: 100%;
    text-align: left;
    font-size: 14px;
    /*box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2);*/
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    /* text-overflow: ellipsis; */
    border: 1px solid #f5f5f5;
    border-radius: 20px;
}

#check_availability_button {
    height: 48px;
}

#datepicker button {
    background: #f5f5f5;
}

#destination .widget--search--input,
#date--check,
#coupon .widget--promo--input {
    font-size: 14px;
}


#rooms>button {
    text-align: center;
    background: #f5f5f5;
    color: #000;
    font-size: 14px;
    /*border: none;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    /* text-transform: capitalize; */
}

#datepicker>button {
    font-weight: 600;
}

#coupon button {
    text-align: center;
    background: #fff;
    color: #000;
    font-size: 16px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

#dropdown_room_modal button i {

    color: white !important;

}

/* #rooms i,
#coupon i {
    color: #000 !important;
} */

/* .widget--booking--bottom {
    padding-left: 12px;
} */

.widget--use--points,
.widget--accessible {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    gap: 6px;
    justify-content: center;
}

.widget--use--points img {
    width: 26px;
}

.widget--accessible img {
    width: 26px;
}


.destination--error {

    font-size: 13px;
    float: right;
    font-style: italic;
    color: red;
    display: none;

}

#cancel-reservation a {
    color: black;
    text-decoration: underline !important;
    font-weight: 400;
}

/*  */

/* .booking_form--summary {
    right: 0;
    left: 0;
    z-index: 3;
    background: white;
    border-bottom: 1px solid #dadadd;
    position: sticky;
    padding: 10px;
    display: none;
}

.booking_form--summary_title {
    color: #888;
    text-transform: uppercase;
    font-size: 16px;
}

.booking_form--summary--info {
    font-size: 13px;
}

.booking_form--summary--edit_btn {
    flex-grow: 1;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
} */



.iB_mobile {
    display: none;
}

.iB-widget--pc {
    display: none;
}

.booking--summary {
    display: none;
}

body.index_page .iB-widget--pc {
    display: block;
}

body.summary_scroll .booking--summary {
    display: block;
}

body.show_summary .booking--summary {
    display: block;
}

body.show_summary .iB-widget--pc,
body.show_summary .iB_mobile {
    display: none;
}

body.show_summary .hotels--middle {
    margin-top: 160px;
}

body.show_summary.show_widget .hotels--middle {
    margin-top: 308px;
}

body.show_summary.show_widget .iB-widget--pc {
    display: block;
}

body.show_summary.show_widget .booking--summary {
    display: none;
}

/* when scroll and have booking date in pc  */

body.show_summary.summary_scroll .booking--summary {
    display: block;
}

body.show_summary.summary_scroll .iB-widget--pc {
    display: none;
}

/* book now */

.booking--book_now {
    color: white;
    background-color: var(--main-color);
    position: absolute;
    padding: 10px;
    right: 35%;
    top: 10px;
}

body .booking--book_now {
    display: none;
}

body.show_summary .booking--book_now {
    display: none;
}

body.summary_scroll .booking--book_now {
    display: block;
}

body.show_summary.summary_scroll .booking--book_now {
    display: none;
}

body.summary_scroll .iB-widget--pc {
    display: none;
}

/* body.show_summary.show_widget */


.select-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 250px;
    /* Điều chỉnh chiều rộng tùy theo yêu cầu */
}

.form-select {
    background-image: none !important;
    width: 100%;
    padding-right: 35px;
    /* Tạo khoảng trống cho icon */
    appearance: none;
    /* Ẩn mũi tên mặc định của select */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* padding: 8px 12px; */
    font-size: 16px;
    line-height: 1.5;
}

.select-container i {
    position: absolute;
    right: 10px;
    /* Đặt icon sang phải */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* Đảm bảo không ảnh hưởng đến thao tác chọn */
    font-size: 14px;
    /* Điều chỉnh kích thước icon */
    color: #888;
}

/* Tùy chọn hover và focus cho select */
.form-select:focus {
    border-color: #007bff;
    outline: none;
}


@media screen and (max-width: 990px) {

    /* .hotel--logo--wrapper {
        flex-direction: column;
    } */

    /* .iB-widget--pc {

        margin-top: 30px;

    } */

    /* .hotels--middle {
        margin-top: 250px;
    } */

}


@media screen and (max-width: 900px) {

    #datepicker-date--check {
        left: 20%;
    }

}

@media screen and (max-width: 768px) {

    /*  */
    body.index_page .iB-widget--pc {
        display: none;
    }

    body.index_page .booking--summary {
        display: none;
    }

    /*  */

    .iB-widget--pc,
    .booking--summary {
        display: none;
    }


    .iB_mobile {
        display: flex;
    }


    .dropdown_modal--title {
        display: block;
    }

    /* when have booking data */
    body.show_summary .iB_mobile {
        display: flex;
    }

    body.show_summary .booking--summary {
        display: none;
    }

    body.show_summary .iB-widget--pc {
        display: none;
    }

    body.show_summary .hotels--middle {
        margin-top: 190px;
    }

    /* in mobile - when click ib_mobile */

    body.show_widget {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    body.show_widget .iB_mobile {
        display: none;
    }

    body.show_widget .iB-widget--pc {
        display: block;
    }

    body.show_widget .booking--widget_overlay {
        display: block;
    }


    /* when scroll */
    body.show_summary.summary_scroll .booking--summary {
        display: none;
    }

    .modal_footer_datepkr {
        position: absolute;
        z-index: 1;
        right: 25px;
        top: 60px;
        display: none;
    }

    body.show_summary.summary_scroll .booking--book_now {
        display: block;
    }

    /* .iB_widget--container{
        display: block;
    } */

    /* .hotel--logo--wrapper{
        flex-direction: column;
    } */

    /* .hotels--header--ri {
        justify-content: end;
    } */

    #dropdown_datepkr_modal {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px;
    }

    /* .iB-widget--pc {
        display: none;
        padding: 30px;
        margin-top: 10px;
    } */

    /* .iB_mobile {
        display: flex;
        margin-top: 90px;
    } */

    .dropdown_modal--btn_container {
        display: flex;
    }

    #destination,
    #rooms,
    #datepicker,
    #coupon {
        margin-bottom: 10px;
    }

    #dropdown_location_modal {
        top: 0;
        left: 0;
        width: 100%;
        bottom: 0;
    }

    .ib--widget--expand_trigger {
        display: block;
        cursor: pointer;
        margin-top: 20px;
        /* width: 50px; */
    }

    .ib--widget--expand_trigger i {
        display: block;
    }

    #datepicker-date--check {
        width: 100% !important;
        box-shadow: unset;
        left: 0;
        top: 10%;
        bottom: 0;
    }

    #month-1-date--check {
        width: 100% !important;
    }

    #month-2-date--check {
        display: none !important;
    }

    #dropdown_room_modal {
        /* top: 55px; */
        left: 0;
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
        bottom: 0;
        overflow: scroll;
        position: relative;
        /* width: 210%; */
        top: 15px;
        z-index: 2;
    }

    #dropdown_promo_modal {
        top: 0;
        left: 0;
        width: 100%;
        bottom: 0;
        padding: 40px 40px;
        height: fit-content;
    }

    .modal--search {
        width: 100% !important;
        top: 185px;
        left: 0;
        right: 0;
    }

    #rooms button,
    #coupon button {

        font-size: 15px !important;

    }

    /* .widget--booking--bottom {
        order: 1 !important;
    } */

    .ib--submit--btn {
        order: 2 !important;
    }


    .modal--search {
        position: unset !important;
    }

    /* #dropdown_room_modal {
        position: relative;
        width: 210%;
        top: 15px;
        z-index: 2;
    } */

}


@media screen and (max-width: 500px) {

    .iB-widget--pc {
        padding: 25px 10px;
    }

    .room--price--number span {

        font-size: 12px !important;

    }

}


@media screen and (max-width: 450px) {

    .booking--book_now {
        right: 20%;

    }


}


@media screen and (max-width: 320px) {

    #rooms {
        width: 100%;
    }

    #coupon {
        width: 100%;
    }

    #dropdown_room_modal {
        width: 100%;
    }

}


@media screen and (min-width: 1024px) {
    #datepicker-date--check {
        left: 40%;
    }
}