﻿.nav-brand h1 {
    font-size: 22px;
    margin-left: 10px;
    margin-top: 3px;
    color: var(--bs-blue)
}

.nav-brand {
    display: flex;
    align-items: center;
}

    .nav-brand img {
        width: 35px;
    }

    .nav-brand > a {
        font-size: 28px !important;
        margin-left: auto;
        margin-bottom: 5px;
        padding-right: 8px;
    }

.vx-brand {
    display: block;
}

    .vx-brand button {
        color: var(--bs-text-color);
        font-size: 24px;
    }

    .vx-brand a {
        color: var(--bs-blue);
        font-size: 24px;
    }

    .vx-brand button:focus {
        outline: none;
        box-shadow: none;
    }

.vx-card-icon {
    color: var(--bs-blue)
}

#menu-top {
    right: 11px;
}

    #menu-top .avatar-user > img {
        width: 48px;
        border-radius: 50%;
    }

    #menu-top .vx-bell {
        font-size: 24px;
    }

#menu-top {
    margin-top: 8px;
    display: block;
}

.vx-div-menu {
    background-color: var(--bs-div-bg);
    border-radius: 10px;
    padding: 10px 10px;
    clear: both;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /* -webkit-box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%); */
    box-shadow: 0 -40px 15px 0 rgba(255, 255, 255, 80%);
    border: 1px solid rgba(0, 0, 0, 5%);
    margin-top: 30px;
    margin-left: 260px;
}

.vx-div-menu-toggled {
    margin-left: 0px;
}

.vx-div {
    margin-left: 15px;
    margin-right: 15px;
}

.vx-icon-close-menu {
    display: none;
}

.vx-div-wrapper {
    background-color: var(--bs-div-bg);
    border-radius: 10px;
    padding: 10px 10px;
    clear: both;
    display: flex;
    -webkit-box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    margin-top: 30px;
}

.vx-div-wrapper-none-bg {
    border-radius: 10px;
    padding: 10px 10px;
    clear: both;
    display: flex;
    -webkit-box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    margin-top: 30px;
}

.vx-div-wrapper-full {
    background-color: var(--bs-div-bg);
    border-radius: 10px;
    clear: both;
    display: flex;
    -webkit-box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
    margin-top: 10px;
    height: calc(100vh - 200px); /* 100px to match whatever offsets you might need for headers etc */
    overflow: scroll;
    overflow-x: hidden;
    overflow-x: hidden;
}

.vx-div-wrapper-full-h140 {
    height: calc(100vh - 140px) !important; /* 100px to match whatever offsets you might need for headers etc */
}

.vx-div-wrapper-full > div:last-child {
    background-color: rgba(252, 252, 252,0.5);
}

.vx-div-wrapper-full::-webkit-scrollbar {
    width: 0; /* Remove scrollbar space */
    background: transparent; /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
.vx-div-wrapper-full::-webkit-scrollbar-thumb {
    background: #FF0000;
}

.vx-icon-min {
    width: 20px;
    height: 20px;
}

@media (max-width: 992px) {
    .vx-icon-close-menu {
        display: inline;
    }

    .vx-div-menu {
        margin-top: 30px;
        margin-left: 0px;
    }

    .vx-div-menu-toggled {
        margin-left: 260px;
    }

    .vx-user > b {
        display: none;
    }
}

.text-grey-custom {
    color: #9198a0;
}

.p-6 {
    padding: 1.5rem !important;
}

.vx-card__body {
    padding: 1.5rem;
}

/* ---------- Section One ------------------------ */
#section-one {
    margin-top: 90px;
}

#layoutSidenav_content .overview-card {
    -webkit-box-shadow: 1px 1px 2px 1px rgb(0 0 0 / 10%);
    box-shadow: 1px 1px 2px 1px rgb(0 0 0 / 10%);
}

.h-full {
    height: 100% !important;
}

.rounded-item {
    border-radius: 8px !important;
}

.vx-list-wrapper {
    margin: 10px;
}

.vx-list--row {
    background-color: var(--bs-div-bg);
    border: 2px solid #f8f8f8;
    border-radius: 20px;
    padding: 15px 10px;
    margin: 10px;
    vertical-align: middle;
}

    .vx-list--row .avatar-user > img {
        width: 48px;
        border-radius: 50%;
    }

.vx-line {
    width: 96%;
    margin: auto;
    height: 2px !important;
}

/* Table */
.vx-table-wrapper {
    background-color: var(--bs-body-bg);
    margin: 10px;
    border: 2px solid #f8f8f8;
    border-radius: 10px;
}

.vx-table {
    border-collapse: separate;
    border-spacing: 0 1.3rem;
    padding: 0 1rem;
}

    .vx-table :not(:first-child) {
        border-top: none;
    }

    .vx-table > thead > tr > th {
        border: none;
    }

    .vx-table > tbody .tr-values.selected {
        cursor: pointer;
    }

    .vx-table > tbody tr p {
        margin-bottom: 0 !important;
    }

    .vx-table .form-check-input {
        font-size: 24px;
    }

    .vx-table > tbody tr {
        border-radius: 10px;
        -webkit-box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 4px 20px 0 rgb(0 0 0 / 5%);
        background: var(--bs-div-bg)
    }

.product-name {
    padding-top: 5px;
    max-width: 23rem;
}

.group-list {
    max-width: 200px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vx-table--td {
    padding: 15px 10px;
    vertical-align: middle;
}

.vx-table--td2 {
    vertical-align: middle;
}

.vx-table > tbody tr td:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.vx-table > tbody tr td:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Model add new */
.offcanvas-end {
    width: 50%;
    ;
}

.modal-footer {
    justify-content: center;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    border: 0;
    display: inline-flex;
}

    .number-input button {
        outline: none;
        -webkit-appearance: none;
        background-color: transparent;
        border: none;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
        margin: 0;
        position: relative;
        box-shadow: 0px 0px 1px #474747;
        border-radius: 50%;
    }

        .number-input button:before,
        .number-input button:after {
            display: inline-block;
            position: absolute;
            content: '';
            width: 1rem;
            height: 2px;
            background-color: #212121;
            transform: translate(-50%, -50%);
        }

        .number-input button.plus:after {
            transform: translate(-50%, -50%) rotate(90deg);
        }

    .number-input input[type=number] {
        font-family: sans-serif;
        max-width: 5rem;
        padding: .5rem;
        border: none;
        border-width: 0 2px;
        font-size: 2rem;
        height: 2rem;
        font-weight: bold;
        text-align: center;
    }

.vx-staff-list .avatar-user > img,
.vx-table--td .avatar-user > img {
    width: 48px;
    border-radius: 50%;
}

.vx-staff-list {
    height: calc(100vh - 330px);
    overflow-x: hidden;
    overflow-x: hidden;
}

    .vx-staff-list::-webkit-scrollbar {
        width: 2px; /* Remove scrollbar space */
        background: transparent; /* Optional: just make scrollbar invisible */
    }
/* Optional: show position indicator in red */
.list-group-item {
    height: 64px;
}

.vx-row-item {
    padding-bottom: 0;
    display: table;
    width: 100%;
    vertical-align: middle;
}

.vx-row-item-span {
    display: table-cell;
    vertical-align: middle;
}

.list-group-item2-span {
    display: table-cell;
    vertical-align: middle;
}

.vx-staff-list::-webkit-scrollbar-thumb {
    background: var(--bs-text-color);
}

.vx-staff-icon-action {
    position: absolute;
    right: 10px;
    top: 20px;
    font-size: 18px;
    pointer-events: none;
    opacity: 0.2;
}

.list-group-item.active > .vx-staff-icon-action {
    pointer-events: all;
    opacity: 1;
}

/* Image Avatar */
.vx-upload-file {
    position: relative;
    overflow: hidden;
}

    .vx-upload-file > input {
        cursor: pointer;
        position: absolute;
        font-size: 32px;
        opacity: 0;
        right: 0;
        top: 0;
    }

.vx-service-list-full {
    height: calc(100vh - 220px);
    overflow-x: hidden;
    overflow-x: hidden;
}

    .vx-service-list-full::-webkit-scrollbar {
        width: 2px; /* Remove scrollbar space */
        background: transparent; /* Optional: just make scrollbar invisible */
    }

.vx-service-list {
    height: calc(100vh - 330px);
    overflow-x: hidden;
    overflow-x: hidden;
}

    .vx-service-list::-webkit-scrollbar {
        width: 2px; /* Remove scrollbar space */
        background: transparent; /* Optional: just make scrollbar invisible */
    }

.avatar-dot {
    height: 60px;
    width: 60px;
    background-color: #fff;
    border: 1px solid #bbb;
    color: #bbb;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 60px;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

    ul.timeline:before {
        content: ' ';
        background: #d4d9df;
        display: inline-block;
        position: absolute;
        left: 15px;
        width: 2px;
        height: 64%;
        z-index: 400;
    }

    ul.timeline > li {
        padding-left: 20px;
    }

        ul.timeline > li:before {
            content: attr(data-num);
            background: #0080ff;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 3px solid #0080ff;
            left: 0px;
            width: 30px;
            height: 30px;
            z-index: 400;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

.vx-tb-payment-method {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

    .vx-tb-payment-method tr {
        outline: 1px solid #adb5bd;
        border-radius: 5px;
    }

.radio-custom {
    opacity: 0;
    position: absolute;
}

.radio-custom, .radio-custom-label {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 5px 5px 5px;
    cursor: pointer;
}

.radio-custom-label {
    position: relative;
}

.radio-custom + .radio-custom-label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    padding: 2px 2px 2px 2px;
    text-align: center;
}

.radio-custom + .radio-custom-label:before {
    border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
    display: initial;
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #bbb;
}

.radio-custom:focus + .radio-custom-label {
    outline: 1px solid #ddd; /* focus style */
}

.tr-checked {
    outline-color: blue !important;
}

.vx-button-upload {
    position: relative;
    overflow: hidden;
}

    .vx-button-upload input {
        cursor: pointer;
        position: absolute;
        font-size: 30px;
        opacity: 0;
        right: 0;
        top: 0;
    }

.vx-btn-submit {
    width: 150px;
}

/* Banner and avatar */

.fb-profile-block {
    margin: auto;
    position: relative;
    width: 100%;
}

.fb-active {
    background-color: blue;
}

    .fb-active a {
        color: white !important;
        text-decoration: none;
    }

.fb-profile-block-thumb {
    display: block;
    height: 315px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.fb-profile-block-menu {
    border: 1px solid #d3d6db;
    border-radius: 0 0 3px 3px;
}

.profile-img a {
    bottom: 15px;
    box-shadow: none;
    display: block;
    left: 15px;
    padding: 1px;
    position: absolute;
    height: 160px;
    width: 160px;
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    z-index: 9;
    border-radius: 5px;
}

.profile-img img {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07);
    height: 158px;
    padding: 5px;
    width: 158px;
}

.profile-name {
    bottom: 60px;
    left: 200px;
    position: absolute;
}

    .profile-name h2 {
        color: #fff;
        font-size: 24px;
        font-weight: 600;
        line-height: 30px;
        max-width: 275px;
        position: relative;
        text-transform: uppercase;
        background-color: rgb(0 0 0 / 64%)
    }

.fb-profile-block-menu {
    height: 44px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.block-menu {
    clear: right;
    padding-left: 205px;
}

    .block-menu ul {
        margin: 0;
        padding: 0;
    }

        .block-menu ul li {
            display: inline-block;
        }

            .block-menu ul li a {
                border-right: 1px solid #e9eaed;
                float: left;
                font-size: 14px;
                font-weight: bold;
                height: 42px;
                line-height: 3.0;
                padding: 0 17px;
                position: relative;
                vertical-align: middle;
                white-space: nowrap;
                color: #4b4f56;
                text-transform: capitalize;
            }

            .block-menu ul li:first-child a {
                border-left: 1px solid #e9eaed;
            }

.avatar-container {
    width: 150px; /* Điều chỉnh kích thước của div avatar-container tùy ý */
    height: 150px;
    border-radius: 50%; /* Đặt bo tròn cho div */
    overflow: hidden; /* Đảm bảo chỉ hiển thị phần bên trong của div */
    border: solid 1px #eee;
}

.avatar-image {
    width: 100%; /* Hiển thị ảnh full trong div */
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh không bị méo hoặc căn chỉnh */
}