﻿.content-book-restaurant {
}

.w-book-restaurant {
    position: relative;
    padding-top: 67px;
    padding-bottom: 332px;
}

    .w-book-restaurant:before {
        content: "";
        position: absolute;
        background: url(/Design/img/ComNieuHaiSanMuiNe/Book1.png) no-repeat;
        background-size: 100% 100%;
        left: 0;
        top: 0;
        width: 100%;
        height: 835px;
    }

span#ctl00_main_HomeDatBan_RegexValidatorSDT {
    top: 52px;
}

.decor-tt {
    position: absolute;
    right: -83px;
    top: 23px;
    width: 173px;
    height: 50px;
}

.title-combo-h {
    position: relative;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.left-book-restaurant h2 {
    margin: 0;
    color: #fff;
    font-family: 'SVNH';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px;
    text-align: center;
}

.left-book-restaurant h6 {
    margin: 0;
    color: #f6c11c;
    font-family: iCR;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
}

/* Vùng hiển thị danh sách chi nhánh */
.chi-nhanh-c {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 12px 0;
    margin-top: 10px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    /* Khi hiển thị */
    .chi-nhanh-c.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* Từng item chi nhánh */
.item-chi-nhanh-c {
    padding: 10px 18px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    /* Hiệu ứng hover */
    .item-chi-nhanh-c:hover {
        background: #f5f9ff;
        color: #0066cc;
    }

    /* Ẩn viền ở item cuối */
    .item-chi-nhanh-c:last-child {
        border-bottom: none;
    }

    /* Văn bản bên trong */
    .item-chi-nhanh-c span {
        font-size: 15px;
        color: #333;
        line-height: 1.4;
    }

    /* Nếu muốn icon chỉ dẫn hoặc vị trí */
    .item-chi-nhanh-c::before {
        content: "📍";
        font-size: 16px;
        color: #ff5c00;
        display: inline-block;
    }

.chi-nhanh-c::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 30px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    box-shadow: 0 -1px 1px rgba(0,0,0,0.05);
}

.item-chi-nhanh-c:hover span {
    color: #f6c11c;
}

a#ctl00_main_HomeDatBan_btnformBookH {
    position: relative;
    font-size: 26px;
    color: #4d2910;
    margin: 0;
    font-family: iCR;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    height: 51px;
}

    a#ctl00_main_HomeDatBan_btnformBookH:before {
        content: "";
        position: absolute;
        background: url(/Design/img/ComNieuHaiSanMuiNe/btn1.png) no-repeat;
        background-size: cover;
        left: 0;
        top: 0;
        width: 183px;
        height: 51px;
        z-index: -1;
        background-size: 100% 100%;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: auto;
        pointer-events: none;
        z-index: -1;
    }

.content-book-restaurant {
    display: flex;
    flex-direction: column;
}

.left-book-restaurant {
    flex: 1 1 0;
    text-align: center;
}

a#ctl00_main_HomeDatBan_btnformBookH:after {
    content: "";
    position: absolute;
    background: url(/Design/img/ComNieuHaiSanMuiNe/btn.png) no-repeat;
    background-size: 100% 100%;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    width: 0;
    height: 0;
    z-index: -1;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

a#ctl00_main_HomeDatBan_btnformBookH:hover::after {
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

a#ctl00_main_HomeDatBan_btnformBookH:hover {
    color: #f4dba9;
}

.right-book-restaurant {
    text-align: center;
}

.left-book-restaurant .decor-tt img {
    opacity: 1;
}

.hotline-book-restaurant a {
    display: inline-block;
    color: #212529;
    text-align: center;
    font-family: 'Montserrat-Medium';
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-left: 23px;
}

.hotline-book-restaurant span {
    position: relative;
    color: #212529;
    text-align: center;
    font-family: 'Montserrat-Medium';
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-right: 23px;
}

.hotline-book-restaurant {
    text-align: center;
}

.c-time-cate-retaurant {
    margin-top: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #888;
    display: flex;
    align-items: center;
}

.time-res-form {
    position: relative;
    display: flex;
    align-items: center;
}

span.tt-time {
    color: #1F1917;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.svg-time-form {
    position: absolute;
    left: 15px;
    top: 16px;
    pointer-events: none;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.widget-svg-time-form {
    position: relative;
    width: 100%;
}

.cate-res-form {
    width: 49%;
    position: relative;
}

.svg-time-form svg path {
    fill: #f6c11c;
}

.cate-res-form select {
    width: 57%;
    outline: none;
    border: none;
    background: #F1F1F1;
    padding: 9px 5px 9px 10px;
    color: #1F1917;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    cursor: pointer;
    margin-left: 8px;
}

.error-contact {
    position: absolute;
    top: 0px;
    right: 8px;
}

.svg-time-form:after {
    content: "";
    position: absolute;
    background: #fff;
    width: 1px;
    height: 16px;
    right: -11px;
    top: 1px;
}

.c-form-book-restaurant .input:nth-child(2) .svg-time-form svg {
    position: relative;
    top: -3px;
}

.c-form-book-restaurant .input:nth-child(2) .svg-time-form:after {
    right: -6px;
}

.c-form-book-restaurant .input input {
    outline: none;
    background: no-repeat;
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 50px;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 6px;
    -webkit-transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
    -khtml-transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
    -moz-transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
    -ms-transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
    -o-transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
    transition: all 300ms cubic-bezier(0.4, 0, 1, 1);
}

    .c-form-book-restaurant .input input:hover {
        --primary-color: #f6c11c;
        border-color: var(--primary-color);
    }

    .time-res-form input::placeholder, .c-form-book-restaurant .input input::placeholder, .c-form-book-restaurant .input.no-select textarea::placeholder {
        color: #fff;
        font-family: 'Montserrat-Regular';
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
    }

.left-book-restaurant section {
    color: #ffffff;
    text-align: center;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    width: 700px;
    margin: auto;
    margin-top: 26px;
    margin-bottom: 22px;
}

.c-form-book-restaurant .input.no-select textarea {
    outline: none;
    border: none;
    background: no-repeat;
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 100%;
    padding-top: 34px;
    padding-bottom: 14px;
    border-bottom: 1px solid #888;
}

.hotline-book-restaurant span:after {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    background: #1F1917;
    width: 1px;
    height: 21px;
}

.c-form-book-restaurant {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    margin-bottom: 30px;
}

.input.no-select.chi-nhanh-full {
    display: none;
}

.c-form-book-restaurant .input {
    position: relative;
}

    .c-form-book-restaurant .input:nth-child(7) {
        display: none;
    }

    .c-form-book-restaurant .input .erolh {
        position: absolute;
        right: 8px;
        top: 0;
    }

.c-phone-email-form {
    display: flex;
}

    .c-phone-email-form .input.no-select {
        flex: 1 1 0;
    }

    .c-phone-email-form .input:nth-child(1) {
        padding-right: 10px;
    }

.time-res-form input {
    outline: none;
    width: 100%;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    cursor: pointer;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 50px;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 6px;
}

.c-form-book-restaurant .input:nth-child(1) .svg-time-form svg {
    position: relative;
    top: -2px;
}

.c-form-book-restaurant .input:nth-child(1) .svg-time-form:after {
    top: 1px;
    right: -8px;
}

.c-form-book-restaurant .input:nth-child(4) .svg-time-form svg {
    position: relative;
    top: -2px;
}

.c-form-book-restaurant .input:nth-child(4) .svg-time-form:after {
    top: 1px;
    right: -8px;
}

.c-form-book-restaurant .input:nth-child(5) .svg-time-form svg {
    position: relative;
    top: -3px;
}

.c-form-book-restaurant .input:nth-child(5) .svg-time-form:after {
    top: 1px;
    right: -5px;
}

.c-form-book-restaurant .input:nth-child(7) .svg-time-form svg {
    position: relative;
    top: -2px;
}

.c-form-book-restaurant .input:nth-child(7) .svg-time-form:after {
    top: 1px;
    right: -7px;
}

.c-form-book-restaurant .input:nth-child(8) .svg-time-form svg {
    position: relative;
    top: -2px;
}

.c-form-book-restaurant .input:nth-child(8) .svg-time-form:after {
    top: 1px;
    right: -9px;
}

.c-form-book-restaurant .btn-submit {
    display: inline-block;
    padding: 8px 18px;
    cursor: pointer;
    user-select: none;
    border-radius: 5px;
    background: #93B925;
    color: #FFF;
    font-family: 'Montserrat-Medium';
    font-size: 16px;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    line-height: normal;
    transition: all ease .2s;
}

    .c-form-book-restaurant .btn-submit:hover {
        background: #1f1917;
        color: #93B925;
    }

@media(max-width:1023px) {
    .content-book-restaurant {
        display: block;
    }

    .item-chi-nhanh-c span {
        font-size: 13px;
        color: #333;
        line-height: 1.4;
    }

    .decor-tt {
        top: -10px;
        right: 0;
        width: 130px;
        height: 47px;
    }

    .chi-nhanh-c {
        width: 100%;
        left: auto;
        right: 0;
    }

        .chi-nhanh-c::before {
            left: auto;
            right: 30px;
        }

    .right-book-restaurant {
        width: 100%;
        margin: 0;
        margin-top: 25px;
        padding-bottom: 116px;
    }

    .left-book-restaurant h2 {
        line-height: normal;
        font-size: 26px;
    }

    .left-book-restaurant h6 {
        font-size: 28px;
    }

    .w-book-restaurant .grid.wide {
        position: relative;
        z-index: 2;
    }

    .w-book-restaurant:before {
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        background-position: center;
    }

    .w-book-restaurant:after {
        background-repeat: no-repeat;
        background-size: contain;
        bottom: -84px;
        height: 119px;
    }

    .left-book-restaurant section {
        font-size: 15px;
        margin-bottom: 15px;
        width: 100%;
    }

    .hotline-book-restaurant span {
        font-size: 20px;
    }

    .hotline-book-restaurant a {
        font-size: 18px;
    }

    .hotline-book-restaurant span:after {
        top: 6px;
        height: 15px;
    }

    .c-form-book-restaurant {
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
    }

    a#ctl00_main_HomeDatBan_btnformBookH {
        width: 150px;
        height: 44px;
        font-size: 20px;
    }

    .c-form-book-restaurant .input input {
        padding-left: 29px;
        padding-top: 15px;
    }

    .ui-timepicker-container {
        z-index: 9 !important;
    }

    span#ctl00_main_HomeDatBan_RegexValidatorSDT {
        top: 0;
        font-size: 10px;
    }

    .c-phone-email-form {
        display: block;
    }

        /* .time-res-form input::placeholder, .c-form-book-restaurant .input input::placeholder, .c-form-book-restaurant .input.no-select textarea::placeholder {
        color: #fff;
        font-family: 'Montserrat-Regular';
        font-size: 11px;
        font-weight: 400;
        line-height: normal;
    }*/

        .c-phone-email-form .input:nth-child(1) {
            padding-right: 0;
        }

    .c-time-cate-retaurant {
        display: block;
    }

    .cate-res-form {
        width: 100%;
    }

    .time-res-form {
    }

    .cate-res-form select {
        width: 64%;
    }

    .time-res-form input {
        font-size: 12px;
        padding-left: 29px;
        padding-top: 13px;
    }

    .widget-svg-time-form {
    }

    .svg-time-form svg {
        width: 18px;
        height: auto;
    }

    .c-form-book-restaurant .input:nth-child(2) .svg-time-form svg {
        position: relative;
        top: 1px;
    }

    .c-form-book-restaurant .input:nth-child(1) .svg-time-form svg {
        position: relative;
        top: 2px;
    }

    .c-form-book-restaurant .input:nth-child(8) .svg-time-form svg {
        position: relative;
        top: 1px;
    }

    .c-form-book-restaurant .input:nth-child(4) .svg-time-form svg {
        position: relative;
        top: 3px;
    }

    .c-form-book-restaurant .input:nth-child(7) .svg-time-form svg {
        position: relative;
        top: 1px;
    }

    .c-form-book-restaurant .input:nth-child(5) .svg-time-form svg {
        position: relative;
        top: 0px;
        width: 18px;
    }

    .c-form-book-restaurant .input:nth-child(6) .svg-time-form svg {
        position: relative;
        top: 2px;
        width: 15px;
    }

    .svg-time-form {
        left: 9px;
        top: 15px;
    }

        .svg-time-form:after {
            top: -2px;
            right: -8px;
            content: none !important;
        }

    .time-res-form span.tt-time {
        flex: 1 1 0;
    }

    .left-book-restaurant {
        margin-top: 20px;
    }

    .w-book-restaurant {
        padding-top: 4px;
        padding-bottom: 225px;
    }

    .c-form-book-restaurant .input input,
    .time-res-form input,
    .c-form-book-restaurant .input.no-select textarea,
    .time-res-form input::placeholder,
    .c-form-book-restaurant .input input::placeholder {
        font-size: 16px !important;
        transform-origin: left center;
    }
}