﻿/*@font-face {
    font-family: SVN-Gotham;
    src: url(/ricks/fonts/svn-gothamlight.woff2);
}*/

/*@font-face {
    font-family: Montserrat;
    src: url(/fonts/montserrat-regular.woff2);
}*/

#isLoading {
    display: none;
    z-index: 10001;
}

    #isLoading.showLoading {
        position: fixed;
        z-index: 10000;
        background-image: url(/cms/images/loading.gif);
        opacity: 1;
        background-repeat: no-repeat;
        background-position: center;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }

.form-control, .btn, .form-select {
    line-height: 2.5
}

textarea .form-control {
    line-height: 1.5
}

.header-wrapper {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2)
}

.qrcode-support {
    min-height: calc(100vh - 200px);
    padding-top: 30px
}

.space-y--20 {
    padding: 20px 0;
}

.body-wrapper {
    background: #f5f5f5;
    min-height: calc(100% - 80px)
}

a:hover {
    text-decoration: none;
    color: #0d6efd;
}

.footer-nav-single span {
    font-size: 11px;
    color: #6e6e6e;
}

.order {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-view-menu {
    bottom: 30px;
    left: 30px;
}

.menu-option3-img-box:hover .menu-option3-info {
    opacity: 1
}

.menu-option3-img-box:hover .menu-option3-img::before {
    opacity: 0.8
}

.menu-option3-img::before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    /*opacity: 0;*/
    opacity: 0.8;
    background-color: #222;
    transition: 0.4s;
}

.menu-option3-info {
    position: absolute;
    width: 100%;
    height: calc(100% - 60px);
    box-sizing: border-box;
    padding: 0 20px;
    top: 30px;
    left: 0;
    color: #ffffff;
    transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    /*opacity: 0;*/
    opacity: 1
}

.menu-option3-img-box h2 {
    color: #fff;
}

.fw400 {
    font-weight: 400;
}

@media only screen and (max-width: 960px) {
    .menu-option3-hour-desc {
        overflow: auto;
        padding: 0 10px;
        height: calc(100% - 120px);
        word-wrap: break-word
    }
}

.space-pt--70 {
    padding-top: 70px;
}

.cart-product__image {
    flex-basis: 120px;
}

    .cart-product__image img {
        border-radius: 5px;
    }

.cart-product__content {
    padding-bottom: 1rem !important;
    flex-basis: calc(100% - 120px);
    margin-right: 10px;
}

.font-weight-bold {
    font-weight: bold
}

.cart-plus-minus input.cart-plus-minus-box, .cart-plus-minus {
    width: 130px;
    font-weight: bold
}

    .cart-plus-minus .qtybutton {
        width: 40px;
        font-weight: bold
    }

.order-dish-list .cart-product {
    border: 1px solid #dee2e6;
    border-top: none;
}

.border-top--medium {
    border-top: 1px solid #dee2e6 !important
}

.border-bottom--medium {
    border-bottom: 1px solid #dee2e6 !important
}

.notify-order, .notify-chat, .notify-notification {
    width: 20px;
    border-radius: 50px;
    color: #fff !important;
    right: 10px;
    font-weight: bold;
}

.notification-item__content {
    color: #000;
    font-size: 15px;
}

.ripple-wrapper {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0d6efd;
    position: relative;
    /*margin: 100px auto;*/
}

    .ripple-wrapper::before,
    .ripple-wrapper::after,
    .ripple-wrapper span {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200%;
        height: 200%;
        border-radius: 50%;
        background: rgba(52, 152, 219, 0.4);
        transform: translate(-50%, -50%) scale(1);
        animation: ripple 2.5s ease-out infinite;
    }

    .ripple-wrapper::after {
        animation-delay: 0.5s;
    }

    .ripple-wrapper span {
        animation-delay: 1s;
    }

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.breadcrumb-area .page-title {
    font-size: 18px;
}

.fs24 {
    font-size: 16px !important;
}

.chat .body .content p {
    font-size: 14px;
}

/*.chat-box {
    height: calc(100% - 226px);
    overflow-y: auto;*/
/*    background-color: #f8f9fa;
    border: 1px solid #dee2e6;*/
/*    border-radius: 10px;
    padding: 15px;*/
/*}*/

/*.chat-message {
    display: flex;
    margin-bottom: 15px;
}

    .chat-message.customer {
        flex-direction: row-reverse;*/ /* Đặt avatar và tin nhắn về bên phải */
/*text-align: right;
        align-items: flex-start;*/ /* Đảm bảo avatar và tin nhắn nằm thẳng hàng */
/*}

.chat-bubble {
    max-width: 70%;
    padding: 5px 10px;
    border-radius: 15px;
    position: relative;
}

.hotel .chat-bubble {
    float: left;
}

.customer .chat-bubble {
    float: right
}

.chat-bubble.customer {
    background-color: #1861f7;
    color: white;
    border-bottom-right-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    text-align: start
}

.chat-bubble.hotel {
    background-color: #fff;
    color: black;
    border-bottom-left-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    text-align: start
}

.chat-meta {
    font-size: 0.8rem;
    color: gray;
    margin-bottom: 5px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
}

.image-album img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border-radius: 8px;
}*/

.chat-submission form .buttons .submit, .chat-submission form .buttons label {
    background-color: #0d6efd;
}

.text-delete {
    color: gray;
}

.chat-submission form .buttons .file-upload i {
    transform: none;
}

.chat-submission form .buttons .submit i, .chat-submission form .buttons label i {
    margin-right: 0
}


/********************CHAT*****************/
.chat-area {
    height: calc(100% - 155px);
}

.chat-wrapper {
    height: calc(100vh - 155px - 70px);
    display: flex;
    overflow: hidden;
}

/* Sidebar trái */
.chat-sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dee2e6;
}

.chat-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.conversation-list {
    background-color: #fff;
    flex-grow: 1;
    overflow-y: auto;
}

.conversation {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
}

    .conversation:hover {
        background-color: #f8f9fa;
    }

    .conversation.unread {
        background-color: #e9f3ff;
        font-weight: bold;
    }

/* Nội dung chat */
.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
    border: none !important;
}

.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
    border-left-color: #0d6efd;
}

.right .direct-chat-text::after, .right .direct-chat-text::before {
    border-left-color: #d2d6de;
    border-right-color: transparent;
    left: 100%;
    right: auto;
}

.chat-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-chat {
    width: 100%;
    display: inline-block
}

.chat-header {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    background-color: #f5f6fa;
    padding: 1rem;
}

.direct-chat-msg {
    max-width: 70%;
    margin-bottom: 0;
}

.direct-chat-text {
    margin-top: 0;
}

.chat-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

.chat-album img {
    object-fit: cover;
    height: 120px;
}

.direct-chat-primary .right > .direct-chat-text {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.right .direct-chat-text {
    margin-left: 0;
    margin-right: 50px;
}

.direct-chat-text {
    margin-top: 0;
}

.direct-chat-img {
    border-radius: 50%;
    float: left;
    height: 40px;
    width: 40px;
}

.direct-chat-text {
    border-radius: .3rem;
    background-color: #d2d6de;
    border: 1px solid #d2d6de;
    color: #222;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}

.direct-chat-msg::after {
    display: block;
    clear: both;
    content: "";
}

.message-left, .message-right {
    max-width: 75%;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.message-left {
    background-color: white;
    color: black;
}

.message-right {
    background-color: #0d6efd;
    color: white;
    margin-left: auto;
}

.chat-wrapper b, strong {
    font-weight: 600;
}

.image-grid {
    /*display: grid;*/
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 5px;
}

.direct-chat-messages {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    height: 250px;
    overflow: auto;
    padding: 10px;
}

.image-grid img {
    /*width: 100%;*/
    border-radius: 8px;
    object-fit: cover;
    padding: 5px 5px 0 0;
}

.direct-chat-timestamp-right {
    padding-top: 5px;
    display: block;
    text-align: left;
    font-size: 12px;
}

.direct-chat-timestamp-left {
    padding-top: 5px;
    display: block;
    text-align: left;
    font-size: 12px;
    /*    color: #ddd*/
}

.chat-upload-image {
    line-height: 1;
    margin: 0 5px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    background: none;
    background-color: #0d6efd;
}

    .chat-upload-image i {
        font-size: 18px;
        line-height: 36px;
    }

.direct-chat-text {
    margin-top: 0;
}

.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
    border: none !important;
}

.direct-chat-text::after, .direct-chat-text::before {
    border: none;
}

.card-primary.card-outline {
    border-top: 3px solid #0d6efd;
}

.card {
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    margin-bottom: 1rem;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.direct-chat .card-body {
    overflow-x: hidden;
    padding: 0;
    position: relative;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.message-actions.start-0 {
    left: -35px !important;
}

.message-actions.end-0 {
    right: -40px !important;
}

.message-actions button {
    line-height: 1.5;
    color: gray;
}

.btn-check:checked + .btn-light, .btn-light.active, .btn-light.show, .btn-light:first-child:active, :not(.btn-check) + .btn-light:active {
    background: #fff;
}

.btn-light, .btn-light:hover {
    background: #fff;
}

.form-control:focus, .form-check-input:focus, .form-select:focus {
    border-color: rgba(55, 125, 255, .5);
    box-shadow: 0 0 10px rgba(55, 125, 255, .1);
}
