.card-table-item a:hover{
    color: #39C3D1;
    opacity: .6;
}
.form-search-order>ul>li>a{
    font-size: 16px;
    line-height: 24px;
    color: #6D757D;
}
.form-search-order>ul>li>a.active{

    color: #3F444A;
    font-weight: 600;
}

.form-search-order>ul>li:has(a.active){
    border-bottom: 2px solid #39C3D1;
}

.search-form input[type=search].search {
    background-image: url(../image/icon/search.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 98% 50%;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    padding: 10px 40px 10px 12px;
    background-color: white;
    border: 1px solid #CCCCCC;
    width: 100%;
}
.search-form input[type=search].search::placeholder {
    color: #D2D2D2;
}
.search-form input[type=search].search:focus-visible {
    border: 1px solid #CCCCCC;
    outline: none;
}
.search-form button{
    background-color: rgb(48, 193, 206);
}
.search-form-acc input[type=search].search {
    width: 85%;
}
.search-form-acc button{
    flex: 1;
}

.card-table-item .order-status .status-icon img{
    width: 24px;
}
.card-table-item .order-status .status-tag{
    width: 24px;
    color: #6D757D;
    background: #EEEEEE;
}
/*.card-table-item>div:not(:last-child){*/
/*    border-bottom: 1px solid #E9E9E9;*/
/*}*/
.card-table-item .order-image{
    width: 130px;
    height: 73px;
    border-radius: 2px;
}
.card-table-item .order-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.card-table-item .order-content{
    flex: 1
}
.order-total>span{
    color: #FA356C
}

.order-handle{
    justify-content: flex-end;
}
.history-content:hover {
    overflow-y: scroll;
    padding-right: 4px;
}
.history-content{
    max-height: 600px;
    padding-right: 12px;
    overflow-y: hidden;
}
.service-select .card-body::-webkit-scrollbar, .history-content::-webkit-scrollbar {
    width: 8px;
}
.service-select .card-body::-webkit-scrollbar-thumb, .history-content::-webkit-scrollbar-thumb {
    transform: translateX(-12px);
}
.service-select .card-body::-webkit-scrollbar-thumb, .history-content::-webkit-scrollbar-thumb {
    background: rgba(188, 191, 214, 0.5);
    border-radius: 14px;
}


.refund-thumbs .swiper-slide .gallery-photo >img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.refund-thumbs .swiper-slide .gallery-photo{
    position: relative;
    padding-bottom: 60%;
}
.refund-thumbs .gallery-photo{
    border-radius: 4px;
    transition: .2s;
    border: 1px solid transparent;
    cursor: pointer;
}
.refund-thumbs .gallery-photo>img{
    overflow: hidden;
    border-radius: 4px;

}
.refund-thumbs .gallery-photo:hover{
    opacity: .6;
    transition: .2s;
    border: 1px solid  #39C3D1;
}
.gallery-zoom{
    position: absolute;
    top: -100%;
    right: 4px;

}

.refund-thumbs .gallery-photo:hover .gallery-zoom{
    top: 4px;
}

/*Custom order*/
.custom-modal .modal-header{
    position: relative;
    background: #F4F4F4;
}
.custom-sheet .sheet-header{
    background: #F4F4F4;
    border-radius: 8px 8px 0 0;
}
.custom-sheet .sheet-body .product-detail_image{
    width: 130px;
    height: 73px;
}

.custom-modal .modal-header .close{
    position: absolute;
    right: 21px;
    /*top: 50%;*/
}
.custom-modal .card-table-item .order-image {
    width: 116px;
    height: 65px;
    border-radius: 2px;
}
.custom-modal .card-table-item .order-image.product-detail_image {
    width: 173px;
    height: 97px;
    border-radius: 2px;
}
.custom-modal .order-refund-image {
    border: 1px dashed #D2D2D2;
    background: #F8F8F8;
}
.custom-sheet .order-refund-image {
    border: 1px dashed #D2D2D2;
    background: #F8F8F8;
}
.preview-order-img .image-preview{
    width: 100%;
    position: relative;
    padding-bottom: 60%;
}
.preview-order-img .image-preview img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-order-img .image-preview .remove-image{
    position: absolute;
    top: 0;
    right: 0px;
    background-color: transparent;
    border-radius: 100%;
    color: white;
    opacity: 1;
    width: 24px;
    height: 24px;
    padding: 0;
}
.thunggiac{
    font-size: 11px;
    position: absolute;
    top: 6px;
    right: 8px;
}
@media screen and (max-width: 992px) {
.order-handle{
    justify-content: space-between;
}
.group-btn .btn {
    width: calc(50% - var(--data-between)/2);
}
.form-search-order>ul{
    flex-wrap: nowrap;
    overflow-x: scroll;
}
.form-search-order>ul>li>a {
    white-space: nowrap;
}
.history-content {
    overflow-y: scroll;
    padding-right: 4px;
}
}

.bottom-sheet {
    display: none;
}
@media screen and (max-width: 992px){
    /* Bottom sheet*/
    .bottom-sheet {
        display: block;
    }
    .bottom-sheet[aria-hidden=true] {
        visibility: hidden
    }
    /* _____*/
    .bottom-sheet:not([aria-hidden="true"]) .layer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(67, 70, 87, 0.5);
        z-index: 1099;
        transition: all linear .2s;
    }

    .bottom-sheet .content-bottom-sheet {
        position: relative;
        background-color: #fff;
        z-index: 1100;
        border-radius: 8px 8px 0 0;
        transform: translateY(100%);
        transition: transform linear .5s;
        height: 10vh;
        max-height: 100vh;
        width: 100vw;
    }

    .bottom-sheet .content-bottom-sheet:not(.not-selectable) {
        transition: height .5s;
    }

    .bottom-sheet .content-bottom-sheet.bar-slide:before {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: -8px;
        width: 32px;
        height: 4px;
        background: #FFFFFF;
        border-radius: 24px;
        transform: translateX(-50%);
    }

    .bottom-sheet:not([aria-hidden="true"]) .content-bottom-sheet {
        transform: translateY(12px);
    }

    .status-bottom-sheet {
        display: none;
    }

    .bottom-sheet {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        visibility: visible;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .bottom-sheet[ aria-hidden="true"] {
        visibility: hidden;
    }

    .sheet-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 16px 11px;
        border-bottom: 1px solid var(--border-default-color);
    }

    .sheet-header .close {
        position: absolute;
        margin-bottom: 0;
        width: 24px;
        height: 24px;
        right: 16px;
        top: 12px;
        background-image: url(.../image/icon/close-bottom-sheet.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px 24px;
    }

    .sheet-body {
        position: absolute;
        top: 48px;
        left: 0;
        right: 0;
        bottom: 16px;
        padding: 16px;
        overflow: auto;
    }

    .bottom-sheet[aria-hidden="true"] .sheet-footer {
        transform: translateY(100%);
    }

    .sheet-footer {
        display: flex;
        justify-content: space-between;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 16px 16px 44px;
        background-color: #fff;
    }

    .sheet-footer.v2 {
        box-shadow: 0 -2px 4px #E8E8E8;
    }

    .sheet-footer .btn {
        width: calc(50% - 6px);
    }

    .sheet-footer .btn:last-child:nth-child(odd) {
        width: 100%;
    }

}
