.datepicker.datepicker-dropdown {
    z-index: 9999 !important;
}

.table-custom tr th {
    text-align: center;
    border: 1px solid #ddd;
}

.table-custom tr td {
    text-align: left;
    border: 1px solid #ddd;
}

.table-custom tr td p {
    margin-bottom: 0;
}

.row-deleted {
    background-color: #c0c3c4;
    text-decoration-line: line-through;
}

body {
    font-size: 15px;
    font-family: "Arial";
    color: #000;
}

.form-control {
    font-size: 15px;
}

.content-header > .breadcrumb {
    font-size: 13px;
}

.sidebar-menu li.header {
    font-size: 13px;
}

.btn {
    font-size: 13px;
}

.object-list-filter {
    width: 100% ;
}
.object-list-filter-booking {
    width: calc(100% - 100px);
}
.object-list-filter-customer {
    width: calc(100% - 150px);
}
.object-list-filter .collapsed-box {
    margin-bottom: 0;
}

#saved_filters_list {
    display: inline-flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.saved-filter-item {
    display: flex;
    margin-right: 10px;
    align-items: center;
    margin-bottom: 2px;
}

.load-filter {
    font-size: 12px;
    color: #fff;
    background: #67acb0;
    padding: 2px 4px;
    border-radius: 6px;
}

.remove-filter {
    font-size: 15px;
    margin-left: 3px;
    border: none;
}

.box-title {
    font-size: 14px !important;
    font-weight: bold;
}

.box-header {
    padding: 5px !important;
}

.revenue-result {
    margin-top: 20px;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.1;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.main-header .logo img {
    width: 100% !important;
    height: 100% !important;
    padding: 7px !important;
}

.main-header .logo {
    padding: 0 !important;
}

.login-logo > a {
    display: block;
    height: 100px;
}

.login-logo > a > img {
    height: 100%;
}

.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: calc(100vh - 175px);
}
.table-booking {
    height: calc(100vh - 235px);
}
.table-lead-report {
    height: calc(100vh - 205px);
}
.table-lead-report-all {
    height: calc(100vh - 350px);
}
.table-sale-report {
    height: calc(100vh - 250px);
}
.table-lead-report-product {
    height: calc(100vh - 280px);
}
.table-lead-report-mkt {
    height: calc(100vh - 352px);
}
.table-revenue-head {
    height: calc(100vh - 400px);
}
.table-revenue-head thead {
    background: lightseagreen;
    position: sticky;
    top: 0;
}

.table-scroll table {
    width: 100%;
    min-width: 1280px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
}

.table-scroll th,
.table-scroll td {
    padding: 5px 10px;
    border: 1px solid #f8f8f8;
    vertical-align: top;
}

.table-scroll thead {
    background: lightseagreen;
    color: #fff;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 0;
    vertical-align: middle !important;
    z-index: 10;
}
.lead-report-sum-row {
    background: lightseagreen;
    color: #fff;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 146px;
    vertical-align: middle !important;
    z-index: 10;
    height: 67.5px;
}
.lead-report-average-date-row {
    top: 213px;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    z-index: 10;
}
.sale-report-sum-row {
    background: lightseagreen;
    color: #fff;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 75px;
    vertical-align: middle !important;
    z-index: 10;
}

.sale-report-sum-row-period {
    top: 112px;
}
.lead-report-doctor-sum-row {
    background: lightseagreen;
    color: #fff;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    vertical-align: middle !important;
    z-index: 10;
    top: 113px;
}
.sticky-col-lead-report-1,.sticky-col-lead-report-2,.sticky-col-lead-report-3{
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -o-sticky !important;
    position: -ms-sticky !important;
    position: sticky !important;
    left: 0;
    background: lightseagreen;
    color: #fff;
    vertical-align: middle !important;
    z-index: 9;
}
.sticky-col-lead-report-1 {
    min-width: 80px;
}
.sticky-col-lead-report-2 {
    left: 80px;
}
.sticky-col-lead-report-3 {
    left: 200px;
}
.lead-report-prev-month-td{
    background: #f39c12;
}
.box-footer {
    padding: 0;
}

.content {
    padding: 5px 5px 0px 5px;
}

.navbar-custom-menu-div {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-custom-menu-div h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.navbar-static-top {
    display: flex;
}

.custom-header-profile {
    display: flex !important;
}

.select-2-filter-result {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.select-2-filter-result-change-start {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
}

.underline-blue {
    color: #0b93d5;
    text-decoration: underline;
    cursor: pointer;
}
.underline-red {
    color: #a8193a;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .navbar-custom-menu-div {
        width: calc(100% - 50px);
    }

    .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
        right: 0;
    }
    .lead-report-sum-row {
        top: 80px;
    }
    .sale-report-sum-row {
        top: 78px;
    }
}

.pagination {
    margin: 0;
    font-size: 14px;
}

tr.lead-report-sum-row th {
    font-weight: bold;
    text-align: center;
}

.footer-header-table {
    color: #af072e;
    font-weight: bold;
}

.table-tr-name {
    height: 84px;
}

.table-tr-recipe {
    background: #639f9b;
    height: 62px;
}

.table-body-center tr td{
    text-align: center;
}

.table-lead-report-compare th {
    vertical-align: middle !important;
}
.table-lead-report-compare .lead-report-sum-row {
    top: 164px !important;
}

.long-text {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 32px;
}

.long-text p{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.webview {
    font-size: 13px;
    font-weight: normal;
}
.webview .table-scroll {
    height: calc(100vh + 20px) !important;
}
.webview .table-scroll table {
    padding-bottom: 20px;
}
.webview th {
    min-width: 50px !important;
    white-space: nowrap;
    letter-spacing: -0.3px;
    padding: 5px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    border-bottom-width: 1px !important;
}
.webview th p{
    margin: 0;
}
.webview td {
    white-space: nowrap;
    padding: 5px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    border-bottom-width: 1px !important;
}
.webview td span{
    font-size: 11px !important;
    letter-spacing: -0.5px;
}
.webview .lead-report-sum-row {
    top: 50px;
}
.webview .sticky-col-lead-report-2 {
    left: 50px;
}
.webview .sticky-col-lead-report-3 {
    left: 127px;
}
.webview .lead-report-doctor-sum-row {
    top: 50px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    overflow-y: scroll;
    max-height: 40px;
}

.header-lead-report {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
}

.input-form-search {
    height: 65px;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(2px);
    }
    75% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(2px);
    }
}

.button-chat {
    position: fixed;
    bottom: 5px;
    left: 10px;
    height: 50px;
    cursor: pointer;
    animation: shake 1.5s infinite;
    z-index: 999;
}

.button-chat:hover {
    animation: none;
}

ul.sidebar-menu.tree {
    padding-bottom: 50px;
}

/*Upload audios booking*/

.upload-audio-close {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: -5px;
    right: 0px;
    text-align: center;
    line-height: 25px;
    z-index: 1;
    cursor: pointer;
}

.upload-audio-close:after {
    content: "✖";
    font-size: 14px;
    color: white;
}

/*Upload images booking*/
.upload-img-close {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 15px;
    right: 0px;
    text-align: center;
    line-height: 25px;
    z-index: 1;
    cursor: pointer;
}

.box-upload-img {
    padding: 12px;
}

.upload-img-close:after {
    content: "✖";
    font-size: 14px;
    color: white;
}

.img-box {
    position: relative;
    width: 120px;
}

.upload-img-box {
    width: 135px;
    height: 135px;
    padding: 10px 10px;
}

.box-preview {
    display: flex;
}

.custom-file-input {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input {
    position: absolute;
    font-size: 100px;
    opacity: 0;
    right: 0;
    top: 0;
}

.custom-file-upload {
    display: inline-block;
    padding: 3px 5px;
    background-color: #3c8dbc;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.custom-file-upload:hover {
    background-color: #2980b9;
}

.box-upload-audio {
    padding: 12px;
}

.audio-box {
    position: relative;
    width: 300px;
}

.flex-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#infinite-scroll {
    max-height: calc(100vh - 200px);
}

.lead-report-search-light-blue {
    background-color: #b1e3fb;
}

.lead-report-row-avg-day {
    background-color: #66ffb2;
}

.form-group {
    min-height: 55px;
}

.label-select-filter-by-text {
    font-size: 13px !important;
}



/* watermark */

.watermark {
    position: absolute;
    top: 50%;
    left: 0;
    font-size: 8vw;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.23);
    overflow: hidden;
    z-index: 9;
    text-align: center;
    width: 100%;
    pointer-events: none;
    transform: translateY(-50%);
}
.table-with-watermark {
    position: relative;
    overflow: hidden;
}
