body {
    font-family: "Roboto", sans-serif !important;
}

.cursor-pointer {
    cursor: pointer;
}

.mh-300 {
    min-height: 300px;
}

.btn-danger {
    border-color: #ffffff;
}

.image-preview-container {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.image-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    padding: 5px;
    transition: opacity 0.3s;
}

.image-preview-container:hover .image-preview {
    opacity: 0.6;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
}

.image-preview-container:hover .remove-btn {
    display: block;
}

.show-more-btn,
.show-less-btn {
    cursor: pointer;
}

.table-sticky {
    position: relative;
    overflow-x: auto;
}

.table-sticky table {
    width: 100%;
}

.table-sticky tr,
.table-sticky th {
    width: 100px;
    /* Adjust based on your content */
    background-color: #ffffff;
}

.table-sticky th:first-child,
.table-sticky td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 100px;
}

.table-sticky th:nth-child(2),
.table-sticky td:nth-child(2) {
    position: sticky;
    left: 100px;
    /* Adjust based on the width of the first column */
    z-index: 2;
    width: 100px;
}

.table-sticky th:nth-child(3),
.table-sticky td:nth-child(3) {
    position: sticky;
    left: 200px;
    /* Adjust based on the combined width of the first two columns */
    z-index: 2;
    width: 100px;
}

.table-sticky td:nth-child(4) {
    position: sticky;
    left: 300px;
    /* Adjust based on the combined width of the first two columns */
    z-index: 2;
    width: 100px;
}

.table-sticky tr td {
    background-color: inherit;
    color: inherit;
}

.image-container img,
.image-preview-container img {
    cursor: zoom-in;
}

.image-container img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border: 1px solid #ddd;
    padding: 5px;
    transition: opacity 0.3s;
}

.copy-btn {
    position: relative;
    cursor: pointer;
}

.user-rating {
    direction: rtl;
    font-size: 20px;
    unicode-bidi: bidi-override;
    padding: 10px 30px;
    display: inline-block;
}

.user-rating input {
    opacity: 0;
    position: relative;
    left: -15px;
    z-index: 2;
    cursor: pointer;
}

.user-rating span.star:before {
    color: #777777;
    content: "\f005";
    /*padding-right: 5px;*/
}

.user-rating span.star {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: normal;
    position: relative;
    z-index: 1;
}

.user-rating span {
    margin-left: -15px;
}

.user-rating span.star:before {
    color: #777777;
    content: "\f005";
    /*padding-right: 5px;*/
}

.user-rating input:hover + span.star:before,
.user-rating input:hover + span.star ~ span.star:before,
.user-rating input:checked + span.star:before,
.user-rating input:checked + span.star ~ span.star:before {
    color: #ffd100;
    content: "\f005";
    font-weight: 900;
}

.selected-rating {
    color: #ffd100;
    font-weight: bold;
    font-size: 3em;
}

.loading {
    font-size: 16px;
    font-weight: bold;
    background: #fff none repeat scroll;
    opacity: 0.3;
    filter: alpha(opacity=30);
    text-align: center;
}

.loading img {
    vertical-align: middle;
    margin-right: 10px;
}

.table-modal {
    text-align: center;
    line-height: 250%;

    td,
    th {
        padding: 0 !important;
    }

    .card-body,
    .card-header {
        padding: 0 !important;
    }
}

.modal-xxl {
    width: 1200px !important;
}

.register-box.xl {
    width: 75vw !important;
}

.app-color {
    color: #9f0d0d;
}

.app-background {
    background-color: #9f0d0d;
}

@media (min-width: 576px) {
    .modal-dialog.modal-xxl {
        max-width: 1200px;
        margin: 1.75rem auto;
    }
}

.background-admin {
    background-color: #488bb7;
    color: #ffffff;
}

.background-admin .nav-pills .nav-link {
    color: #ffffff;
}

.background-admin .nav-pills .nav-link.active,
.background-admin .nav-pills .show > .nav-link {
    background-color: #3d779d !important;
}

.background-admin .nav-pills .nav-link:not(.active):hover {
    color: #ffffff;
    background-color: #3d779d !important;
}

.text-orange {
    color: #ff7f50;
    /* Màu cam cho giá trị Revenue */
}

.form-control.w-auto {
    width: auto;
}

.row .seller-sumary {
    border-right: 1px solid #ddd;
}

.row .seller-sumary:last-child {
    border-right: none;
}

.btn-fixed {
    width: 134px !important;
}

.btn-light-blue:not(:disabled):not(.disabled).active,
.btn-light-blue:not(:disabled):not(.disabled):active,
.show > .btn-light-blue.dropdown-toggle {
    color: #fff;
    background-color: #488bb7;
    border-color: #488bb7;

    a {
        color: #ffffff;
    }
}

.btn-light-blue:not(:disabled):not(.disabled).active,
.btn-light-blue:not(:disabled):not(.disabled):active,
.show > .btn-light-blue.dropdown-toggle {
    color: #fff;
    background-color: #3d779d !important;
    border-color: #3d779d !important;

    a {
        color: #ffffff;
    }
}

.btn-outline-light-blue {
    color: #488bb7;
    border-color: #488bb7;

    a {
        color: #488bb7;
    }
}

.btn-outline-light-blue:hover {
    color: #fff;
    background-color: #3d779d;
    border-color: #3d779d;

    a {
        color: #ffffff;
    }
}

.select2-container .select2-selection--single {
    height: auto !important;
}

.custom-border-sumary-seller {
    border: 2px solid #d0d0d0 !important;
}

.seller-sumary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    p {
        flex: 1;
    }
}

#chartBrandRevenuePie,
#chartAreaRevenuePie {
    height: 400px;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 800px;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}

.highcharts-credits,
.highcharts-exporting-group {
    display: none;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 8px !important;
}

.card-header .text-center {
    font-size: 1.25rem;
    font-weight: bold;
}

.highlight {
    color: #28a745;
    font-weight: bold;
    font-size: 1.5rem;
}

.text-hightlight {
    font-weight: bold;
    font-size: 1.5rem;
}

.summary-box {
    background-color: #2d77a6;
    color: white;
    padding: 15px;
    border-radius: 8px;
}

.summary-box .row > div {
    text-align: center;
    padding: 8px;
}

.section-header {
    text-transform: uppercase;
    font-weight: bold;
    color: #777;
    font-size: 1.2rem;
}

.order-list {
    font-size: 0.9rem;
    color: #555;
    margin-top: 15px;
    text-align: center;
}

.mr-10 {
    margin-right: 10px;
}

.mt-10 {
    margin-top: 10px;
}
.mb-0 {
    margin-bottom: 0 !important;
}

.status-search {
    cursor: pointer !important;
}

.select2-container {
    min-width: 200px !important;
}

.nav-item.system-driver {
    border-top: 4px solid rgb(67, 122, 241); /* Màu vàng */
}
.nav-item.lalamove {
    border-top: 4px solid rgb(243, 202, 127); /* Màu vàng cam */
}

.nav-item.other-driver {
    border-top: 4px solid rgb(102, 241, 123); /* Màu vàng cam */
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    font-weight: bold;
}

.conversation-container {
    position: fixed;
    bottom: 40px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.conversation-box {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.conversation-box .unread {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    background-color: red;
}

.conversation-box .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #0518ee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 10px;
}

.close-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: rgb(80, 77, 77);
    color: white;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    display: none;
    cursor: pointer;
}

.conversation-box:hover .close-icon {
    display: block;
}

.message-box-container {
    position: fixed;
    bottom: 0;
    right: 100px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.btn-collapse-message, .btn-close-message {
    cursor: pointer;
}

.message-box {
    width: 350px;
}

.badge-search {
    padding: 0.5rem 1rem;
}

#userTable {
    table-layout: auto; /* Cột sẽ tự động căn chỉnh */
    width: 100%;
}

.rating-bar {
    height: 100%;
    border-radius: 5px;
}
.rating-label {
    font-size: 0.9rem;
}
.rating-average {
    font-size: 2.5rem;
    font-weight: bold;
}
.rating-star {
    color: #ffc107;
}

.scroll-wrapper {
    position: relative;
    width: 100%;
}

/* Thanh scroll ngang ở trên */
.scroll-top {
    width: 100%;
    overflow-x: auto; /* Đảm bảo xuất hiện thanh cuộn ngang */
    height: 20px; /* Chiều cao để hiển thị thanh cuộn */
    background: #ffffff;
}

.scroll-top-inner {
    width: 4247px; /* Chiều rộng phải khớp với nội dung thực */
    height: 1px; /* Chiều cao nhỏ, không hiển thị nội dung thực */
}

/* Khu vực nội dung chính */
.scroll-content {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #ccc;
    position: relative;
}

.scroll-inner {
    width: 2000px; /* Chiều rộng nội dung lớn hơn chiều rộng container */
}
