﻿:root {
    --menu-normal: #5EA9B8;
    --menu-highlight: #FD8782;
}

body {
    background-color: #f4f4f4;
}

.field-validation-error {
    font-size: 12px;
}

html #toast-container > div {
    font-size: 13px;
}

body.auth-pages {
    background-color: #eee;
    background: url('/assets/images/eTaskme background.png') no-repeat;
    background-size: cover;
}

body .auth-footer-copyright {
    color: #fff;
}

body.auth-pages .bg-dark {
    background: #000000 !important;
}

.auth-container {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.auth-footer-copyright {
    color: #bdbdbd;
}

.auth-container .card {
    -webkit-box-shadow: 0px 5px 10px 0px #4a4a4a;
    -moz-box-shadow: 0px 5px 10px 0px #4a4a4a;
    box-shadow: 0px 5px 10px 0px #4a4a4a;
}

.auth-container .form-control {
    height: calc(1.5em + .94rem + 2px);
    padding: .3rem .6rem;
}

.user-profile-info-wrapper {
    background: #2a3042;
    padding-bottom: 10px;
    border-bottom: 1px solid #797979;
}

.auth-pages .auth-activate .input-group-addon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 15px;
}

.auth-pages .auth-activate .field-validation-error {
    display: block;
    width: 100%;
    padding-left: 28px;
}
/*body[data-sidebar="dark"] .vertical-menu {*/
/*   background: #2a3042;*/
/*background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(30,35,48,1) 37%, rgba(42,48,66,1) 100%);
}

body[data-sidebar="dark"] .navbar-brand-box {
    background: #000;
}*/
/*body[data-sidebar="dark"] .vertical-menu {
    background: rgb(0,0,0);
    -moz-background: linear-gradient(180deg, rgb(35, 31, 32) 0%, rgba(30,35,48,1) 37%, rgba(42,48,66,1) 100%);
    -webkit-background: linear-gradient(180deg, rgb(35, 31, 32) 0%, rgba(30,35,48,1) 37%, rgba(42,48,66,1) 100%);
    background: linear-gradient(180deg, rgb(35, 31, 32) 0%, rgba(30,35,48,1) 37%, rgba(42,48,66,1) 100%);
}*/


/*Changed by thilina  #F8FAFC  #F0F7FD*/

body[data-sidebar=dark].vertical-collpsed {
    min-height: auto !important;
}
/* ============================================================
   EXPANDED SIDEBAR (FULL SIZE)
   ============================================================ */

body[data-sidebar="dark"] .vertical-menu,
body[data-sidebar="dark"] .navbar-brand-box {
    background: #F0F7FD !important;
}

/* Titles */
body[data-sidebar="dark"] #sidebar-menu .menu-title {
    color: #7B7C7C;
    font-weight: 600;
}

/* Default top-level links */
body[data-sidebar="dark"] #sidebar-menu ul li a,
body[data-sidebar="dark"] #sidebar-menu ul li a i {
    color: var(--menu-normal) !important;
}

/* Default submenu links */
body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a {
    color: var(--menu-normal);
}

/* Non-active hover */
body[data-sidebar="dark"] #sidebar-menu ul li:not(.mm-active) > a:hover,
body[data-sidebar="dark"] #sidebar-menu ul li:not(.mm-active) > a:hover i {
    color: var(--menu-normal);
    transition: all 0.2s ease;
}

/* Active (opened) menu hover */
body[data-sidebar="dark"] #sidebar-menu ul li.mm-active > a:hover,
body[data-sidebar="dark"] #sidebar-menu ul li.mm-active > a:hover i {
    color: var(--menu-highlight);
}

/* Submenu hover colors */
body[data-sidebar="dark"] #sidebar-menu ul.sub-menu li:not(.mm-active) > a:hover {
    color: var(--menu-normal);
}

body[data-sidebar="dark"] #sidebar-menu ul.sub-menu li.mm-active > a:hover {
    color: var(--menu-highlight);
}

/* Hover animation */
#sidebar-menu ul li a {
    transition: color .2s ease, padding-left .2s ease;
}

    #sidebar-menu ul li a:hover {
        padding-left: 14px;
    }

#sidebar-menu ul li ul.sub-menu li a:hover {
    padding-left: 50px;
}

/* Opened menu stays blue */
body[data-sidebar="dark"] #sidebar-menu li.mm-active > a,
body[data-sidebar="dark"] #sidebar-menu li.mm-active > a i {
    color: var(--menu-normal) !important;
}

/* Submenu active item */
body[data-sidebar="dark"] #sidebar-menu ul.sub-menu li > a.active {
    color: var(--menu-highlight) !important;
}

/* Parent menu stays green if child is active */
body[data-sidebar="dark"] #sidebar-menu li.mm-active:has(a.active) > a,
body[data-sidebar="dark"] #sidebar-menu li.mm-active:has(a.active) > a i {
    color: var(--menu-highlight) !important;
}

/* Divider */
body[data-sidebar="dark"] #sidebar-menu .list-divider {
    background: rgba(255,255,255,0.08);
}

/* Active left indicator */
body[data-sidebar="dark"] #sidebar-menu ul li a.active {
    border-left: 3px solid var(--menu-highlight) !important;
}

/* Parent indicator stays green */
body[data-sidebar="dark"] #sidebar-menu li.mm-active:has(a.active) > a {
    border-left: 3px solid var(--menu-highlight);
}

/* Force parent green even if others are open */
body[data-sidebar="dark"] #sidebar-menu ul li:has(> ul.sub-menu li a.active) > a,
body[data-sidebar="dark"] #sidebar-menu ul li:has(> ul.sub-menu li a.active) > a i {
    color: var(--menu-highlight) !important;
    border-left: 3px solid var(--menu-highlight);
}


body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active {
    color: var(--menu-highlight) !important;
}

body[data-sidebar="dark"] #sidebar-menu ul li a.active {
    color: var(--menu-normal) !important;
}
/* ============================================================
   COLLAPSED SIDEBAR (FLY-OUT)
   ============================================================ */
body.vertical-collpsed[data-sidebar="dark"] .vertical-menu {
    background: #F0F7FD !important;
}

    /* Fly-out background */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu {
        background: #F0F7FD !important;
    }

    /* Titles */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu .menu-title {
        color: #7B7C7C;
        font-weight: 600;
    }

    /* Default top-level links */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li > a,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li > a i {
        color: var(--menu-normal) !important;
    }

    /* Remove dark hover background */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:hover > a,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li.mm-active > a {
        background: #F0F7FD !important;
    }

    /* Non-active hover */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:not(.mm-active) > a:hover,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:not(.mm-active) > a:hover i {
        color: var(--menu-normal);
    }

    /* Hover for active menus */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li.mm-active > a:hover,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li.mm-active > a:hover i {
        color: var(--menu-highlight);
    }

    /* Active menu stays blue unless child active */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li.mm-active > a,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li.mm-active > a i {
        color: var(--menu-normal) !important;
    }

    /* Green for selected module */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:has(a.active) > a,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:has(a.active) > a i {
        color: var(--menu-highlight) !important;
    }

    /* Submenu links */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li a,
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li a i {
        color: var(--menu-normal);
    }

    /* Submenu hover */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li:not(.mm-active) > a:hover {
        color: var(--menu-normal);
    }

    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li.mm-active > a:hover {
        color: var(--menu-highlight);
    }

    /* Submenu active link */
    body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li > a.active {
        color: var(--menu-highlight) !important;
    }

        /* Green indicator in collapsed mode */
        body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu ul.sub-menu li > a.active::before,
        body.vertical-collpsed[data-sidebar="dark"] .vertical-menu #sidebar-menu > ul > li:has(a.active) > a::before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            bottom: 8px;
            width: 3px;
            background: var(--menu-highlight);
        }

/* Hover animation collapsed */
body.vertical-collpsed .vertical-menu #sidebar-menu ul li a {
    transition: color .2s ease, padding-left .2s ease;
}

    body.vertical-collpsed .vertical-menu #sidebar-menu ul li a:hover {
        padding-left: 14px;
    }

body.vertical-collpsed .vertical-menu #sidebar-menu ul.sub-menu li a:hover {
    padding-left: 30px;
}


/*custom for dashboard menu icon*/
body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active i {
    color: var(--menu-highlight) !important;
}
/*.................. end of color-profile block -  changes by thilina ..................*/
.navbar-brand-box {
    padding: 20px 1.5rem;
    text-align: center;
    width: 250px;
    margin-top: 15px;
    padding-bottom: 0px;
}

.vertical-menu {
    top: 75px;
}

.vertical-collpsed .navbar-brand-box {
    padding-left: 0;
    padding-top: 25px;
    margin-top: 0;
    height: 98px;
    padding-right: 0;
}

.vertical-collpsed .vertical-menu {
    top: 75px;
}

.invalid-tooltip {
    display: none;
}

.nav-tabs .nav-link.tabs-required,
.nav-tabs .nav-link.tabs-required:hover {
    color: #ff715b !important;
}

.custom-file-label::after {
    top: -1px;
    height: calc(1.3em + .94rem);
    color: #fff;
    background-color: #2a3042;
    line-height: 1.3;
}

.custom-file-label {
    height: calc(1.2em + .94rem + 2px);
    padding: .3rem .75rem;
    line-height: 1.9;
    font-size: 11px;
    cursor: pointer;
}

div.navbar-header div.d-flex button#vertical-menu-btn.header-item {
    height: 125px !important;
}

.input-group-text {
    line-height: 1.4;
    color: #fff;
    background-color: #2a3042;
    border: 1px solid #2a3042;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 31px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: 31px;
}

.note-editor .note-toolbar .note-dropdown-menu, .note-popover .popover-content .note-dropdown-menu {
    background: #fff;
}

.note-editor .dropdown-item:focus, .note-editor .dropdown-item:hover {
    background-color: #eee;
}

#termsContainer {
    width: 100%;
}

.term-chip {
    display: inline-block;
    text-align: left !important;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    margin: 6px 8px 6px 0;
    padding: 8px 12px;
}

table.dataTable.dt-checkboxes-select tbody tr,
table.dataTable thead th.dt-checkboxes-select-all,
table.dataTable tbody td.dt-checkboxes-cell {
    cursor: pointer;
}

table.dataTable thead th.dt-checkboxes-select-all,
table.dataTable tbody td.dt-checkboxes-cell {
    text-align: center;
}

div.dataTables_wrapper span.select-info,
div.dataTables_wrapper span.select-item {
    margin-left: 0.5em;
}

@media screen and (max-width: 640px) {
    div.dataTables_wrapper span.select-info,
    div.dataTables_wrapper span.select-item {
        margin-left: 0;
        display: block;
    }
}

.dataTables_wrapper div.dt-buttons {
    margin-top: -9px;
    margin-left: 10px;
}

.dt-buttons .btn {
    border-radius: 10px !important;
    margin-right: 13px;
    padding: 7px 14px;
    min-width: 70px;
    font-size: 20px;
    height: 42px;
    line-height: 14px;
    border-left: 1px solid #ced4da;
    background: #fff;
    color: #3F6184 !important;
    border-color: #3F6184;
    font-weight: 600;
    margin-top: 10px;
}

.sh-datatable tbody tr.selected {
    background: #B0BED9;
}

.sh-datatable div.dataTables_wrapper span.select-info, div.dataTables_wrapper span.select-item {
    font-weight: bold;
}

.dataTables_wrapper .btn-secondary:not(:disabled):not(.disabled).active,
.dataTables_wrapper .btn-secondary:not(:disabled):not(.disabled):active,
.dataTables_wrapper .show > .btn-secondary.dropdown-toggle {
    color: #fff !important;
}

.user-header-info {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

    .user-header-info span {
        display: block;
    }

.page-content {
    padding: 70px 0px;
}

.page-title-box {
    background: #fff;
    border-top: 1px solid #f3f0f5 !important;
}

    .page-title-box h4 {
        font-size: 18px !important;
    }

.breadcrumb {
    margin-bottom: 0rem;
}

.cursor-pointer {
    cursor: pointer;
}

.custom-file {
    overflow: hidden;
    height: calc(1.1em + .94rem + 2px);
}

.page-title-right a.btn i.fa {
    margin-right: 7px;
    font-size: 11px;
}

.page-content .card {
    margin-top: 15px;
    padding: 15px;
}

.page-content .card-footer {
    background-color: #fff;
    border-top: 1px solid #f7f7f7;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
}

.btn-light {
    background-color: #e4e5e6;
}

.card-title {
    font-size: 15px;
    margin: 0 0 7px 0;
    font-weight: 600;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 10px;
}

.page-content .card-body.row {
    padding: 0.5rem 0rem;
}

.card.datatable-card {
    margin-top: 0;
}

.datatable-card .card-body {
    padding-left: 0;
    padding-right: 0;
}

.page-main-contents {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
}

table.datatable thead tr {
    background: #3F6184;
    color: #fff;
}

.datatable.sh-datatable .dropdown-toggle {
    background: #ddd;
    border: 1px solid #ccc;
    padding: 3px 10px;
}

table.table-bordered.dataTable.sh-datatable tbody th, table.table-bordered.dataTable.sh-datatable tbody td {
    border-bottom-width: 0;
    vertical-align: middle;
}

.modal-content {
    border: none;
}

.bg-primary {
    background-color: #3F6184 !important;
}

.vh100 {
    height: 100vh;
}

.modal-title.h4 {
    color: #fff;
    font-size: 17px;
}

.modal-header .close {
    text-shadow: none !important;
    box-shadow: none !important;
    color: #fff;
}

.modal-footer {
    background: #f4f4f4;
}

.select2-wrapper .select2-half {
    width: 200px !important;
}

.dropdown-menu {
    -webkit-box-shadow: 0 0 15px 1px rgba(90, 80, 105, 0.2);
    box-shadow: 0 0 15px 1px rgba(90, 80, 105, 0.2);
    padding: 0;
    background: #fff;
}

#assign-user-group-row-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
    justify-content: end;
}

.sh-datatable ul.dropdown-menu li a {
    padding: 5px 15px !important;
    display: block;
    line-height: 28px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.card-footer .btn, .modal-footer .btn {
    min-width: 100px;
}

.swal2-popup .swal2-styled.swal2-confirm {
    font-size: 15px;
}

.swal2-popup .swal2-content {
    font-size: 14px;
}

.swal2-popup .swal2-title {
    font-size: 20px;
}

#assign-user-group-row-search, #assign-user-group-row-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

#assign-user-group-row-listbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.bootstrap-duallistbox-container .btn-group.buttons .btn-default,
.bootstrap-duallistbox-container .btn-group .btn {
    color: #fff;
    background-color: #74788d;
    border-color: #74788d;
}

.bootstrap-duallistbox-container .btn-group.buttons .moveall.btn-default i.glyphicon.glyphicon-arrow-right::before,
.bootstrap-duallistbox-container .btn-group.buttons .move.btn-default i.glyphicon.glyphicon-arrow-right::before {
    content: "\f105";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.bootstrap-duallistbox-container .btn-group.buttons .removeall.btn-default i.glyphicon.glyphicon-arrow-left::before,
.bootstrap-duallistbox-container .btn-group.buttons .remove.btn-default i.glyphicon.glyphicon-arrow-left::before {
    content: "\f104";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.bootstrap-duallistbox-container .btn-group.buttons .btn-default:hover {
    background-color: #676975;
}

.inner-image-prev-wrapper {
    width: 40px;
    height: 30px;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 62px;
    z-index: 8;
    /* cursor: ; */
}

.inner-image-prev-panel {
    display: block;
    height: 30px;
}

.custom-pic-img {
    width: 40px;
    height: 30px;
}

.custom-pic-logo-img {
    width: 50%;
    height: 25%;
}



/* --- Invoice header logo box --- */
.logo-box-invoice {
    display: flex;
    align-items: center; /* vertically center logo in the header */
}

/* --- Invoice logo image (no stretching) --- */
.custom-pic-logo-invoice {
    max-height: 64px; /* adjust to fit your header height */
    height: auto;
    width: auto;
    max-width: 100%;
    display: block;
}

/* --- Optional: nicer spacing between stacked address lines --- */
.address-lines > div + div {
    margin-top: 2px; /* slight gap between lines */
}

/* --- If you want extra-curvy corners beyond Bootstrap presets --- */
.rounded-9 {
    border-radius: 24px;
}




/* A fixed-height logo box */
.logo-box {
    width: 100%; /* fills the column width */
    height: 160px; /* adjust as needed */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    overflow: hidden; /* hide overflow if any */
    background: transparent; /* or a subtle background if desired */
}

    /* The image keeps aspect ratio, never stretches, never upscales */
    .logo-box > img {
        max-width: 100%;
        max-height: 100%;
        width: auto; /* prevent stretch */
        height: auto; /* prevent stretch */
        display: block;
        image-rendering: auto; /* let the browser choose best filtering */
    }

    /* Optional: responsive square box using aspect-ratio instead of fixed height */
    .logo-box.square {
        height: auto;
        aspect-ratio: 1 / 1; /* square; use 3/1, 4/3, etc. if you prefer */
    }


.sh-datatable select {
    min-width: 100px;
}

.sh-datatable .form-control {
    min-width: 100px;
    padding: 3px 5px;
    height: 30px;
}

.sh-dt-wrp .sh-datatable thead th {
    text-align: center;
}

.note-editor.note-airframe, .note-editor.note-frame {
    padding: 0 !important;
    margin-top: 0 !important;
}

.deal-view-inner {
    margin-top: 10px;
    padding-right: 15px;
}

.deal-view-inner-row.d-flex {
    margin-bottom: 10px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.deal-view-inner h4 {
    font-size: 11px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    width: 100%;
    margin-bottom: 0;
    line-height: 16px;
}

.deal-view-inner .deal-view-inner-row h4::before {
    content: ':';
    text-align: right;
    /* width: 100%; */
    position: absolute;
    right: 6px;
    /* top: 0; */
}

.deal-view-inner p {
    margin-bottom: 2px;
    font-size: 11px;
}

.badge-pill {
    font-size: 13px;
}

.deal-view-inner .deal-view-inner-row h4 {
    flex: 0 0 50%;
    border: none;
    padding-bottom: 0;
    position: relative;
}

.deal-view-inner .deal-view-inner-row p {
    text-align: left;
    flex: 0 0 50%;
    font-size: 11px;
}

.datatable p span.badge.badge-pill.badge-danger,
.datatable p span.badge.badge-pill.badge-soft-danger {
    font-size: 100%;
    line-height: 1.1;
}

.btn-outline-light {
    border: 1px solid #ced4da;
}

    .btn-outline-light:hover {
        border: 1px solid #ced4da;
    }

.input-group-append.lable-bg-bdr {
    border-color: #556ee6 !important;
    background: #556ee6 !important;
    border-radius: 0px 4px 4px 0px;
}

    .input-group-append.lable-bg-bdr button.btn:hover {
        color: #556ee6 !important;
        background: #fff;
        border-color: #ced4da !important;
    }

    .input-group-append.lable-bg-bdr button.btn {
        border-color: #556ee6 !important;
    }

        .input-group-append.lable-bg-bdr button.btn:hover i {
            color: #556ee6 !important;
        }

.datatable .select2-container {
    width: 95px !important;
}

.datatable .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.datatable .select2-container--default .select2-selection--single {
    height: 30px;
    line-height: 30px;
}

    .datatable .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 30px;
    }

.swal2-popup .swal2-styled.swal2-cancel {
    font-size: 15px;
}

.filetypepdf {
    font-size: 30px;
    position: absolute;
    right: 3px;
    height: 30px;
    top: 0;
    display: flex;
    background: #fff;
}

.datatable caption {
    color: #2b2b2d;
    text-align: center;
    caption-side: top;
    font-weight: 500;
    font-size: 14px;
}

.deal-view-inner h4.card-subtitle {
    border-bottom: 2px solid #ddd;
    margin-bottom: 10px;
    color: #000;
    font-size: 14px;
}

h4.card-subtitle.deal-subtitle {
    border-bottom: 2px solid #ddd;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 5px;
    width: 100%;
    color: #000;
}

.edit-appointment-main-panel .card-title.view-appointment-title {
    display: none;
}

.view-appointment-main-panel .edit-appointment-title {
    display: none;
}

table.dataTable.sh-datatable tbody td p img {
    max-width: 60px;
}

.page-item.active .page-link {
    background-color: #3F6184;
    border-color: #3F6184;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #eee;
    opacity: 1;
    cursor: no-drop;
}

.footer {
    background-color: #ddd;
}

.select2-container--focus .select2-selection.select2-selection--single {
    border-color: #ced4da;
}

.form-control:focus, .form-control-file:focus {
    border-color: #959595;
}

.text-editor {
    width: 100%;
}

/*  APPOINTMENT TABLE ROWS COLORS */
.CargoType-red {
    background-color: #ef9a9a;
}

.CargoType-orange {
    background-color: #FFC671;
}

.CargoType-blue {
    background-color: #81D4FA;
}
/* ******* END APPOINTMENT TABLE ROWS COLORS ********** */

.bg-focus-error {
    background: #fbb9b9;
}

    .bg-focus-error:focus {
        background: #fbb9b9;
    }

.datatable-legend {
    line-height: 1;
    font-size: 11px;
}

    .datatable-legend span {
        width: 15px;
        height: 15px;
        display: block;
        margin-right: 5px;
    }

.dheader-item {
    margin-right: 5px;
    min-width: 80px;
}

.btn-primary-s1h {
    border-color: #f44336;
    color: #f44336;
    background: #fff;
}

    .btn-primary-s1h:hover {
        background: #f44336;
        color: #fff;
    }

.btn-primary-s2h {
    border-color: #1A237E;
    color: #9097AC;
    background: #fff;
}

    .btn-primary-s2h:hover {
        background: #1A237E;
        color: #fff;
    }


.btn-primary-s3h {
    border-color: #FFB300;
    color: #FFB300;
    background: #fff;
}

    .btn-primary-s3h:hover {
        background: #FFB300;
        color: #fff;
    }


.btn-primary-s4h {
    border-color: #8DBBEA;
    color: #8DBBEA;
    background: #fff;
}

/*.btn-primary-s4h:hover {
        background: #006064;
        color: #fff;
    }*/


.btn-primary-s5h {
    border-color: #4CAF50;
    color: #4CAF50;
    background: #fff;
}

    .btn-primary-s5h:hover {
        background: #4CAF50;
        color: #fff;
    }


.btn-primary-s6h {
    border-color: #F57F17;
    color: #F57F17;
    background: #fff;
}

    .btn-primary-s6h:hover {
        background: #F57F17;
        color: #fff;
    }


.btn-primary-s7h {
    border-color: #455A64;
    color: #455A64;
    background: #fff;
}

    .btn-primary-s7h:hover {
        background: #455A64;
        color: #fff;
    }


.btn-primary-s8h {
    border-color: #7821BF;
    color: #7821BF;
    background: #fff;
}

    .btn-primary-s8h:hover {
        background: #7821BF;
        color: #fff;
    }

.form-group {
    margin-bottom: 0.5rem;
}

.form-control {
    height: calc(1.2em + .94rem + 2px);
    padding: .3rem .75rem;
    font-size: 11px;
}

.select2-container--default .select2-selection--single {
    height: 32px;
    font-size: 11px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 11px;
}

.table td, .table th {
    padding: .5rem;
    font-size: 11px;
}

.col-form-label, .form-label {
    font-size: 12px;
}

.input-group .btn {
    padding: .2rem .75rem;
}

.pos-right {
    right: 0;
}

.pos-bottom {
    bottom: 0;
}

.opacity-25 {
    opacity: 0.25;
}

.bg-gradient {
    background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    -moz-background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    -webkit-background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.delay-1 {
    animation-delay: .25s;
}

.delay-2 {
    animation-delay: .5s;
}

.delay-3 {
    animation-delay: .75s;
}

.delay-4 {
    animation-delay: 1s;
}

.dt-bootstrap4 .form-control {
    padding: 0.3rem 1.2rem 0.3rem 0.4rem;
}

.form-control:focus, .form-control-file:focus,
.select2-container--focus .select2-selection.select2-selection--single,
.custom-file-label:focus, .custom-file-input:focus ~ .custom-file-label,
.note-editing-area:focus, .note-editable.card-block:focus,
.note-editing-area:focus ~ .note-editable,
.note-editable:focus,
.focusme {
    border-color: #8fabff !important;
    background: #e1ecff !important;
}

.note-editor.note-frame .note-editing-area .note-codable, .note-editor.note-frame .note-editing-area .note-editable {
    color: #404244;
}

#pie_chart_no_data {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

    #pie_chart_no_data img {
        max-width: 100%;
        object-fit: cover;
        width: 300px;
        opacity: 0.8;
    }

#pie_chart .apexcharts-legend.position-bottom .apexcharts-legend-series,
#pie_chart .apexcharts-legend.position-top .apexcharts-legend-series {
    width: 100%;
}


/* CLASSES FOR THE EVENT CALENDAR OF PICKUP STATUS */
a.fc-event-not-picked-up { /* not picked up | amber color */
    background-color: #FFBF00 !important;
    border-color: #FFBF00 !important;
}

a.fc-event-pickup-pending { /* pending pickup  | light blue */
    background-color: #3788d8 !important;
    border-color: #3788d8 !important;
}

a.fc-event-pickup-done { /* pickup done | light green */
    background-color: #32bf8d !important;
    border-color: #32bf8d !important;
}

/* --------------------------------------- */

.card {
    -webkit-box-shadow: 0px 0px 13px 0px rgb(62 44 90 / 8%);
    box-shadow: 0px 0px 13px 0px rgb(62 44 90 / 8%);
    border: 1px solid #dfe5f3;
    background: #fff;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .datatable caption {
    color: #253b70;
}

p {
    color: #000;
}

.panel-hdr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 4px 4px 0 0;
    -webkit-transition: background-color 0.4s ease-out;
    transition: background-color 0.4s ease-out;
    padding: 15px;
}

    .panel-hdr h4 {
        font-weight: 600;
        font-size: 17px;
        margin-bottom: 0;
    }

.deal-view-inner h2 {
    font-size: 12px;
}

.mt-7 {
    margin-top: 7px;
}

.fc-tooltip-panel p, fc-tooltip-panel h6 {
    margin: 0;
    padding: 0;
    color: #fff !important;
    text-align: left;
}

.fc-tooltip-panel h6 {
    border-bottom: 1px solid #eee !important;
    text-align: left !important;
    padding-bottom: 5px;
    color: #fff !important;
}

.tooltip-inner {
    min-width: 250px; /* the minimum width */
}

.fc-direction-ltr .fc-daygrid-event .fc-event-time {
    color: #000;
    font-size: 12px;
}

.fc-daygrid-dot-event .fc-event-title {
    font-weight: 500;
    font-size: 12px;
    color: #fff;
}

.datepicker {
    z-index: 1003 !important;
}

    .datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
        background-image: -moz-linear-gradient(to bottom,#24488c,#4858ae) !important;
        background-image: -ms-linear-gradient(to bottom,#24488c,#4858ae) !important;
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#24488c),to(#4858ae)) !important;
        background-image: -webkit-linear-gradient(to #24488c,#fdd49a,#4858ae) !important;
        background-image: -o-linear-gradient(to bottom,#24488c,#4858ae) !important;
        background-image: linear-gradient(to bottom,#24488c,#4858ae) !important;
    }

.custom-map-control-button {
    position: absolute;
    top: 100px;
    border: 1px solid #ddd;
    padding: 10px 25px;
    background: #346cc3;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.justify-space-between {
    justify-content: space-between;
}


.subtask-waiting {
    background-color: #fff3cd;
}

.subtask-progress {
    background-color: #d1ecf1;
}

.subtask-completed {
    background-color: #d4edda;
}



@media (max-width: 992px) {
    .navbar-brand-box {
        width: auto;
    }

    .navbar-brand-box {
        /*width: auto;*/
        width: 250px;
        padding: 0 1.5rem;
        margin: inherit;
    }

    .navbar-header .d-block {
        display: flex !important;
    }

    .user-profile-info-wrapper {
        display: none;
    }

    body.sidebar-enable .user-profile-info-wrapper {
        display: block;
    }
}

/* ============================================================
   SIDEBAR BOTTOM COLLAPSE BUTTON
   ============================================================ */

/* Footer container */
.sidebar-collapse-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: #F0F7FD;
    border-top: 1px solid #dfe5f3;
    z-index: 10;
}

/* Button (expanded view) */
.sidebar-collapse-btn {
    width: 100%;
    height: 50px;
    border: none;
    background: transparent;
    color: var(--menu-normal);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px;
    font-size: 13px;
    transition: all 0.2s ease;
}

    /* Hover */
    .sidebar-collapse-btn:hover {
        background: rgba(0, 112, 187, 0.08);
        color: var(--menu-highlight);
    }

    /* Icon */
    .sidebar-collapse-btn i {
        font-size: 16px;
    }

/* Text spacing */
.sidebar-collapse-text {
    margin-left: 8px;
}


/* ============================================================
   COLLAPSED MODE
   ============================================================ */

body.vertical-collpsed .sidebar-collapse-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Only show icon when collapsed */
body.vertical-collpsed .sidebar-collapse-btn {
    justify-content: center;
    padding: 0;
}

/* Hide text when collapsed */
body.vertical-collpsed .sidebar-collapse-text {
    display: none;
}

/* Keep button nicely centered */
body.vertical-collpsed .sidebar-collapse-btn i {
    margin: 0;
}


/* ============================================================
   IMPORTANT FIX: NO EXTRA HEIGHT ISSUE
   ============================================================ */

/* Prevent sidebar from stretching */
.vertical-menu {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-layout {
    height: 100%;
}

.sidebar-scroll-area {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: visible;
}

body.vertical-collpsed .vertical-menu,
body.vertical-collpsed .sidebar-layout,
body.vertical-collpsed .sidebar-scroll-area,
body.vertical-collpsed #sidebar-menu {
    overflow: visible !important;
}
/* Make sidebar always fixed (expanded + collapsed) */
.vertical-menu {
    position: fixed !important;
    top: 70px; /* match your header height */
    left: 0;
    height: calc(100vh - 70px);
    overflow: hidden;
}

    /* Enable internal scrolling */
    .vertical-menu .simplebar-content-wrapper {
        height: 100%;
        overflow-y: auto;
    }

@media (max-width: 991.98px) {

    /* Keep sidebar collapsed width visible */
    .vertical-menu {
        left: 0 !important;
        width: 70px !important;
    }

    /* Add space for content */
    .main-content {
        margin-left: 70px !important;
    }
}

@media (max-width: 767px) {
    .shortcutsHeader {
        display: none !important;
    }
}


/* global search */
.global-search-wrapper {
    position: relative;
    width: 420px;
    margin: 0 18px;
}

.global-search-box {
    /*display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    padding: 0 14px;
    height: 48px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);*/
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #E4E5EB;
    box-shadow: none;
    background: #F7F8F8;
}

    .global-search-box:focus-within {
        border-color: #7c9df6;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.14);
    }

.global-search-icon {
    color: #98a2b3;
    margin-right: 10px;
    font-size: 14px;
}

.global-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.global-search-clear {
    border: none;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    padding: 0;
}

.global-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 99999;
    max-height: 460px;
    overflow-y: auto;
}

.global-search-empty {
    padding: 18px;
    color: #667085;
    text-align: center;
    font-size: 14px;
}

.global-search-group {
    padding: 12px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #667085;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

    .global-search-group:first-child {
        border-top: none;
        border-radius: 16px 16px 0 0;
    }

.global-search-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-top: 1px solid #f8fafc;
}

    .global-search-item:hover {
        background: #f8fbff;
    }

.global-search-badge {
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #eef4ff;
    color: #315efb;
}

.global-search-text {
    flex: 1;
    min-width: 0;
}

.global-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-subtitle {
    font-size: 12px;
    color: #667085;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-loading {
    padding: 18px;
    text-align: center;
    color: #667085;
    font-size: 13px;
}

/* End of Global Search*/

/*Location Wrapper*/
/* Wrapper */
.location-wrapper {
    width: 260px;
    margin-right: 15px;
}

/* Main box like search */
.location-box {
    align-items: center;
    padding: 0 12px;
    display: flex;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #E4E5EB;
    box-shadow: none;
    background: #F7F8F8;
}

.location-wrapper {
    width: 240px;
}

.location-box:focus-within {
    border-color: #7c9df6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.14);
}

/* Icon */
.location-icon {
    color: #98a2b3;
    margin-right: 10px;
    font-size: 14px;
}

/* Select2 overrides */
.location-select {
    width: 100% !important;
}

/* Remove default select2 ugly box */
.location-box .select2-container--default .select2-selection--single {
    border: none !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Text */
.location-box .select2-selection__rendered {
    font-size: 14px;
    color: #101828;
    padding-left: 0 !important;
}

/* Arrow */
.location-box .select2-selection__arrow {
    height: 100% !important;
}

/* Placeholder style */
.location-box .select2-selection__placeholder {
    color: #98a2b3 !important;
}


/* 🔥 ONLY affects location dropdown */
.location-wrapper .select2-container--open .select2-dropdown {
    border-radius: 16px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
}

/* Below dropdown */
.location-wrapper .select2-dropdown--below {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

/* Options */
.location-wrapper .select2-results__option {
    padding: 10px 16px;
    font-size: 14px;
}

/* Hover */
.location-wrapper .select2-results__option--highlighted {
    background-color: #f8fbff !important;
    color: #101828 !important;
}

/* Selected */
.location-wrapper .select2-results__option[aria-selected=true] {
    background-color: #eef4ff !important;
    color: #315efb !important;
}
/* End of Location Wrapper */

/*Header Button round shapes*/
/* 🔥 Common pill button style (like search) */
.header-pill-btn {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 15px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #F7F8F8;
    margin-right: 10px;
}

    /* Hover like search */
    .header-pill-btn:hover {
        border-color: #cfd8ff;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.14);
        text-decoration: none;
    }

    /* Icons spacing */
    .header-pill-btn i {
        margin-right: 8px;
    }

    .header-pill-btn.btn-primary-s1h {
        border-color: #f44336;
        color: #f44336;
        background: #fff;
    }

    /*.header-pill-btn.btn-primary-s1h:hover {
        background: #f44336;
        color: #fff;
    }*/

    .header-pill-btn.btn-primary-s2h {
        background: #9097AC;
        color: #fff;
    }

    /*.header-pill-btn.btn-primary-s2h:hover {
        background: #1A237E;
        color: #fff;
    }*/

    .header-pill-btn.btn-primary-s3h {
        background: #63A4E6;
        color: #fff;
    }

    /*.header-pill-btn.btn-primary-s3h:hover {
        background: #FFB300;
        color: #fff;
    }*/

    .header-pill-btn.btn-primary-s4h {
        background: #8DBBEA;
        color: #fff;
    }

/*.header-pill-btn.btn-primary-s4h:hover {
        background: #006064;
        color: #fff;
    }*/

/*   Add (+) button style */
.header-add-btn {
    height: 35px;
    width: 35px;
    border-radius: 18px;
    border: none;
    background: #24488c; /* dark blue */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(49, 94, 251, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
}

    /* Hover effect */
    .header-add-btn:hover {
        background: #274bdb;
        box-shadow: 0 8px 24px rgba(49, 94, 251, 0.35);
    }

    /* Click effect */
    .header-add-btn:active {
        transform: scale(0.96);
    }
/*End of Header button round shapes*/

/*Admin Header Buttons*/


.navbar-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* NO WRAP */
}

    /* LEFT SIDE (logo + location + search) */
    .navbar-header > div:first-child {
        display: flex;
        align-items: center;
        flex: 1 1 auto; /* can shrink */
        min-width: 0;
    }

/* RIGHT SIDE (buttons + profile) */
.shortcutsHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    ; /* push to right */
    flex-shrink: 0; /*never shrink */
    flex-wrap: nowrap; /*never break */
}

/* Buttons */
.header-pill-btn {
    white-space: nowrap;
}

/* Profile block */
.dropdown {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/*IMPORTANT: shrink search first */
.global-search-wrapper {
    flex: 1 1 auto;
    min-width: 120px;
}

/*reduce spacing for laptop */
@media (max-width: 1400px) {
    .header-pill-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}
/*End of Admin Header Buttons*/

/*Dashboard animations*/


.etm-exec-bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s ease-out;
}

    /* when active */
    .etm-exec-bar.animate {
        transform: scaleY(1);
    }


/* =========================
   PROJECT DONUT ANIMATION
========================= */

.etm-project-ring {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

    /* overlay that reveals the donut */
    .etm-project-ring::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #ffffff; /* match panel bg */
        border-radius: 50%;
        transform: scale(1);
        transform-origin: center;
        transition: transform 0.8s ease-out;
        z-index: 1;
    }

    /* animate state */
    .etm-project-ring.animate::before {
        transform: scale(0);
    }

/* keep center content above animation */
.etm-ring-center {
    position: relative;
    z-index: 2;
}


.etm-invoice-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.etm-invoice-label {
    width: 130px;
    font-weight: 600;
}

.etm-invoice-bar {
    flex: 1;
    height: 10px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.etm-invoice-fill {
    height: 100%;
    width: 0;
    border-radius: 6px;
}

/*End of Dashboard Animations*/

/*Dashboard css*/
.dot-dark {
    background: #7F8EAC;
}

.dot-light-blue {
    background: #B1B6C5;
}

.dot-soft {
    background: #E4E5EB;
}

.dot-gray {
    background: #E4E5EB;
}

.dot-teal {
    background: #8FC1CB;
}

.dot-sky {
    background: #B0D5DA;
}
/*End of Dashboard css*/

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #3F6184 !important;
    color: #fff !important;
}


/* =========================
   PROJECT OVERVIEW (NO CONFLICT)
   ========================= */

.po-card {
    padding: 24px;
}

.po-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* DONUT */
.po-donut {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--gradients));
    position: relative;
}

    /* INNER CUT (THICKNESS CONTROL) */
    .po-donut::after {
        content: "";
        position: absolute;
        inset: 14px; /* 🔥 thickness */
        background: #fff;
        border-radius: 50%;
    }

/* CENTER TEXT */
.po-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.po-number {
    font-size: 48px;
    font-weight: 800;
    color: #323A45;
}

.po-text {
    font-size: 16px;
    font-weight: 600;
    color: #5FAEB6;
}

/* LEGEND */
.po-legend {
    margin-top: 24px;
    width: 100%;
    max-width: 260px;
}

.po-legend-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.po-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.po-label {
    flex: 1;
    font-size: 14px;
    color: #3F6184;
}

.po-value {
    font-size: 14px;
    font-weight: 600;
    color: #323A45;
}

/* COLORS (reuse your existing ones safely) */
.po-dot.legend-green {
    background: #AC8583;
}

.po-dot.legend-blue {
    background: #51668D;
}

.po-dot.legend-red {
    background: #E8395E;
}

.po-dot.legend-sky {
    background: #79ABB8;
}

.po-dot.legend-yellow {
    background: #323A45;
}

.custom-card {
    border-radius: 28px;
}

/* =========================
   INVOICE DONUT (ISOLATED)
   ========================= */

.inv-card {
    padding: 22px;
}

/* layout */
.inv-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* donut */
.inv-donut-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(var(--gradients));
    position: relative;
}

    /* thickness */
    .inv-donut-ring::after {
        content: "";
        position: absolute;
        inset: 14px; /* 🔥 adjust thickness here */
        background: #fff;
        border-radius: 50%;
    }

/* center text */
.inv-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.inv-number {
    font-size: 36px;
    font-weight: 800;
    color: #323A45;
}

.inv-text {
    font-size: 14px;
    font-weight: 600;
    color: #5FAEB6;
}

/* legend */
.inv-legend {
    margin-top: 20px;
    width: 100%;
    max-width: 260px;
}

.inv-legend-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.inv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.inv-label {
    flex: 1;
    font-size: 14px;
    color: #3F6184;
}

.inv-value {
    font-size: 14px;
    font-weight: 600;
    color: #323A45;
}

/* colors */

.inv-dot.legend-green {
    background: #AC8583;
}

.inv-dot.legend-blue {
    background: #51668D;
}

.inv-dot.legend-red {
    background: #E8395E;
}

.inv-dot.legend-sky {
    background: #79ABB8;
}

.inv-dot.legend-yellow {
    background: #323A45;
}

.modal-content {
    border-radius: 30px;
    overflow: hidden;
}

/* ROW ALIGNMENT */
.data-year-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* LABEL STYLE */
.data-year-label {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

/* DROPDOWN WIDTH */
.data-year-dropdown {
    min-width: 120px;
}

    /* SELECT2 HEIGHT FIX */
    .data-year-dropdown .select2-container .select2-selection--single {
        height: 42px;
        font-size: 18px;
        display: flex;
        align-items: center;
    }

    /* TEXT INSIDE */
    .data-year-dropdown .select2-selection__rendered {
        line-height: 42px !important;
        padding-left: 10px;
    }

.notification-wrapper {
    position: relative;
    margin-left: 15px;
}

.notification-bell {
    border: none;
    background: transparent;
    position: relative;
    font-size: 20px;
    color: #3F6184;
}

.notification-count {
    position: absolute;
    top: -7px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
}

.notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 38px;
    width: 380px;
    max-height: 300px;
    overflow-y: auto;
    background: #fafbfc;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    z-index: 9999;
}

.notification-header {
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 2;
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

.notification-item {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f1f1;
}

.notification-title {
    font-weight: 700;
    color: #1f2937;
}

.notification-message {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

.notification-actions {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}

.notification-link {
    font-size: 12px;
    color: #3F6184;
    font-weight: 700;
}

.notification-read-btn {
    border: none;
    background: #eef5ff;
    color: #3F6184;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 11px;
}

.notification-dropdown::-webkit-scrollbar {
    width: 8px;
}

.notification-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

    .notification-dropdown::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

.notification-item.unread {
    background: #f7d2d2;
}

.mention-tag {
    background: #eef5ff;
    color: #2563eb;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

.modal-content {
    overflow: visible !important;
}

.same-height-row {
    display: flex;
    flex-wrap: wrap;
}

    .same-height-row > [class*='col-'] {
        display: flex;
    }

    .same-height-row .card {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .same-height-row .card-body {
        flex: 1;
    }


/*   Add (+) button style in Navigation Bar*/
.nav-add-btn {
    height: 25px;
    width: 25px;
    border-radius: 18px;
    border: none;
    background: var(--menu-normal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    margin-left: 23px;
    margin-top: 10px;
    margin-bottom: 20px;
}

    /* Hover effect */
    .nav-add-btn:hover {
        background: var(--menu-highlight);
    }

    /* Click effect */
    .nav-add-btn:active {
        transform: scale(0.96);
    }

.nav-word {
    font-size: 14px;
    text-transform: initial !important;
    color: var(--menu-normal) !important;
    font-weight: normal !important;
    margin-left: -10px;
    font-family: Poppins, sans-serif;
}

.vertical-menu,
.sidebar-layout,
.sidebar-scroll-area,
#sidebar-menu,
.simplebar-content-wrapper,
.simplebar-mask,
.simplebar-offset {
    overflow: visible !important;
}

/*End of Header button round shapes*/
