:root {
    --bodyColor: #f9f9f9;
    --fontFamily: 'Inter';
    --btnColor: #023373;
    --activeColor: #d9e9ff;
}

/* Over all */
/* html{
} */
body {
    background-color: var(--bodyColor) !important;
    font-family: var(--fontFamily) !important;
    color: #000;
    /* padding: 10px; */
}


span,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
small,
a,
label,
button,
li,
input,
select,
textarea,
th,
td,
option,
b,
strong,
u,
sup,
sub {
    font-family: var(--fontFamily) !important;
}

.btn-bg-color,
.bg-color {
    background-color: var(--btnColor) !important;
    color: white !important;
}

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

.cm-border {
    border: 1px solid #ddd !important;
}

.cm-border-top {
    border-top: 1px solid #ddd !important;
}

.cm-border-bottom {
    border-bottom: 1px solid #ddd !important;
}

.cp {
    cursor: pointer !important;
}

.border-none {
    border: none !important;
}

.cm-br {
    border-radius: 8px !important;
}

@media (min-width: 769px) {
    body[data-sidebar-size=sm] {
        min-height: 100vh !important;
    }
}

#page-topbar {
    box-shadow: none !important;
}

#page-topbar {
    position: fixed;
    top: 0;
    right: 0;
    /* left: 250px; */
    left: 0px;
    z-index: 1001;
    background-color: var(--bs-header-bg);
    box-shadow: 0 2px 4px rgba(15, 34, 58, .12);
}

.top_bottom_right {
    background-color: white;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.form-control {
    border: 1px solid grey;
    border-radius: 10px;
    height: 50px;
    background-color: #fff;
}

/* select */

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: 40px !important;
    border: 1px solid grey !important;
    border-radius: 10px !important;
    height: 45px !important;
    background-color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0px !important;
}

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

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 5px !important;
}

.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"],
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f46a6a'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3E%3C/svg%3E);
    padding-right: 4.125rem;
    background-position: right .75rem center, center right 2.25rem;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem) !important;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2334c38f' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E);
    padding-right: 4.125rem;
    background-position: right .75rem center, center right 2.25rem;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem) !important;
}

/* Invalid */
.select2-selection.is-invalid {
    border-color: #f46a6a !important;
    padding-right: 2.5rem !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f46a6a'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
}

/* Valid */
.select2-selection.is-valid {
    border-color: #34c38f !important;
    padding-right: 2.5rem !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2334c38f' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
}

/* .select2-dropdown {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1000;
    top: 15px !important;
} */


.select2-container {
    /* border: 1px solid grey; */
    border-radius: 0.25rem;
    /* width: 100% !important; */
    /* height: 50px; */
    /* background-color: #e8e6e6 !important; */
}

/* .select2-container .select2-selection--single {
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color);
    height: 38px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    border-radius: 10px !important;
    padding-left: 12px;
    color: var(--bs-body-color);
    height: 50px;
    background-color: #fff !important;
    border: 1px solid grey;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 5px !important;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container .select2-selection--multiple {
    min-height: 38px;
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color) !important;
}

.select2-container .select2-selection--multiple {
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color) !important;
    height: 38px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    line-height: 34px !important;
    border-radius: 10px !important;
    padding-left: 12px;
    color: var(--bs-body-color);
    height: 50px;
    background-color: #fff !important;
    border: 1px solid grey;
}

.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 5px !important;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
    border-radius: 10px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0px solid #aaa !important;
    border-radius: 4px;
} */

select {
    cursor: pointer;
}

/*  */

/* Input Group */
.input-group-text {
    border: 1px solid grey;
    border-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Input Group */


/* DatePicker Start */
.datepicker {
    border-radius: 10px !important;
    padding: 10px !important;
}

.datepicker table tr td.today {
    /*border: 1px solid #000 !important;*/
    background: #f1545e !important;
    color: #fff !important;
}

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

/* DatePicker End */

.tox-tinymce {
    border: 1px solid gray !important;
    border-radius: 0.25rem !important;
}

/* Side Bar */
.menu-title {
    color: #000;
}

.mm-active .active,
.mm-active .active i,
.mm-active>a>i,
.mm-active>i {
    /* color: #e7a76b !important; */
    color: #333 !important;
}

.mm-active,
.mm-active>a {
    color: #333 !important;
}

#sidebar-menu ul li ul.sub-menu li.active a {
    color: var(--btnColor) !important;
}

.mm-active>a {
    background-color: transparent !important;
    color: #000 !important;
}

#sidebar-menu ul li a {
    display: block;
    padding: .6rem 1.1rem;
    color: #000;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    transition: all .4s;
    margin: 0 15px;
    border-radius: 3px;
}

#sidebar-menu ul li a i {
    color: #000;
}

/* #sidebar-menu ul li a:hover,
#sidebar-menu ul li a:hover {
    color: #000 !important;
    background-color: transparent !important;
} */

#sidebar-menu ul li a:hover,
#sidebar-menu ul li a:hover i {
    color: #000 !important;
}

#sidebar-menu ul li ul.sub-menu li a {
    padding: .4rem 1.5rem .4rem 3.5rem;
    font-weight: 400;
    color: #000 !important;
    margin: 2px 0px;
    background-color: transparent;
    font-size: 14.4px;
}

#sidebar-menu ul li ul.sub-menu li a:hover {
    color: #fff !important;
}

.metismenu li {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}
/* Right Side Bar */
.right-bar {
    background-color: var(--bs-secondary-bg);
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .02);
    display: block;
    position: fixed;
    transition: all .2s ease-out;
    width: 400px !important;
    z-index: 9999;
    float: right !important;
    right: -400px;
    top: 0;
    bottom: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.rightbar-overlay {
    background-color: rgb(54 54 54 / 38%) !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    z-index: 9998;
    transition: all .2s ease-out;
}
/* Right Side Bar End */

/* Small Screen Side */
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a:hover {
    position: relative;
    width: 250px;
    color: #fff !important;
    background-color: var(--bs-sidebar-menu-item-active-bg-color);
    transition: none;
    box-shadow: inset 0 3px 10px 0 rgba(154, 161, 171, .2);
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a:hover>i {
    color: #fff !important;
    /* background-color: #4461f2 !important; */
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a {
    background-color: #d9e9ff !important;
    color: #000 !important;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a>i {
    /* background-color: #4461f2 !important; */
    color: #fff !important;
}
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a {
    padding: 15px 10px;
    transition: none;
}

/* Index Page */
.border_15 {
    border-radius: 15px;
}

.border_25 {
    border-radius: 40px;
}

.over:hover {
    box-shadow: 0px 0px 25px rgb(0 0 0 / 10%);
}

.card {
    box-shadow: none;
}

.grey {
    background-color: #e8e6e6;
}

.grey_color {
    color: #e8e6e6;
}

.purple {
    background-color: #00CCAA;
}

.purple_color {
    color: #00CCAA;
}

.yellow_color {
    color: #F84E11;
}



/* Accordian */
.accordion-item {
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
    border: none !important;
    padding: 3px;
}

.accordion {
    --bs-accordion-bg: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #fff;
    box-shadow: inset 0 calc(var(--bs-accordion-border-width)* -1) 0 var(--bs-accordion-border-color);
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: .9rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: #fff;
    /* border: 0;
    border-radius: 0; */
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}


/* Check Box */
.form-check-input {
    border: 1px solid black;
    outline: 0;
    box-shadow: none;
}

/* File Input */
input[type="file"] {
    /* height: 55px !important;
    border: 5px solid #e8e6e6 !important; */
    padding: 13px 18px !important;
}
input[type="file"]:focus,
input[type="text"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
.form-control:focus {
    border-color: #adb9f4;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(91, 115, 232, .25);
}
/* textarea:focus {
    border-color: #adb9f4;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(91, 115, 232, .25);
} */

/* Overflow */
.note_overflow {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 12px;
    padding: 10px;
    /* box-shadow: inset 0px 0px 1px; */
}

/* Scroll Bar */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
    background-color: #e8e6e6;
}


/* Table */
.active>.page-link,
.page-link.active {
    background-color: var(--btnColor);
    border-color: var(--btnColor);
}



/* auto complete css for search company */
/* Force the autocomplete box to stay within the input width */
.ui-autocomplete {
    position: absolute !important;
    z-index: 99999 !important;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    margin-top: 0.25rem;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    max-height: 250px;
    width: auto !important;
    min-width: 36%;
    max-width: 100% !important;
    box-sizing: border-box;
}

.ui-menu-item-wrapper {
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    transition: background-color 0.15s ease;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
    background-color: #0d6efd;
    color: #fff;
}

/* --- Autocomplete item --- */
.ui-menu-item {
    list-style: none;
}

.ui-menu-item-wrapper {
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f1f1;
}

.ui-menu-item:last-child .ui-menu-item-wrapper {
    border-bottom: none;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
    background-color: #0d6efd;
    color: #fff;
}

.ui-helper-hidden-accessible {
    display: none;
}

/* auto complete css for search company */


/* Custom css */

.border_20 {
    border-radius: 20px !important;
}


/* Company Profile CSS */

.card-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid;
    border-radius: 20px;
}

.header-bg {
    position: relative;
    overflow: hidden;
}

.coin-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    /* background: url('../images/profile/profile_header.png') no-repeat right center/contain; */
    z-index: 1;
}

.logo-box {
    background-color: #f7a2a7;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-box {
    text-align: center;
    border-right: 1px solid #dee2e6;
    padding-right: 15px;
}

.data-box:last-child {
    border-right: none;
}

.table-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.table-sm td,
.table-sm th {
    padding: 0.5rem;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-bottom: 1px solid;
    border-color: #eee;
}

.table-sm td,
.table-sm th {
    padding: 1rem;
}

/* Horizontal Tabs */

.tabs-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 500px; */
    max-width: 1000px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.tabs-header::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

@media (max-width: 600px) {
    .tabs-header {
        flex-direction: column;
    }


    .tab-button {
        text-align: left;
        border-bottom: 1px solid #e9ecef;
    }

    .tab-button.active::after {
        width: 3px;
        height: 100%;
        border-radius: 0 3px 3px 0;
    }
}



.tab-button {
    /* background: none; */
    background-color: #e8e8e8;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    flex: 1;
    min-width: 120px;
}

.tab-button:hover {
    background-color: #f1545e;
    color: #fff;
}

.tab-button.active {
    color: #000;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4361ee;
    border-radius: 3px 3px 0 0;
}

.button_image {
    border: 1px solid #000 !important;
    color: #000 !important;
    padding: 15px !important;
    width: 50% !important;
    background-color: #e8e8e8;
    background: #e8e8e8;
}

.btn:hover {
    border-color: #000 !important;
}

/* Company Profile CSS */






/* dashboard popup css */


/* Full Screen Background */
.custom-modal {
    display: none;
    /* Initially hidden */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.4);

    /* Center the modal content */
    /* Add this */
    justify-content: center;
    /* Horizontal center */
    align-items: center;
    /* Vertical center */
}

/* Modal Box */
.custom-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 420px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: popupAnimation 0.35s ease-out;
}

/* Smooth Popup Animation */
@keyframes popupAnimation {
    0% {
        transform: translateY(-40px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close button */
.close-activity {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.close-activity:hover {
    color: #000;
}

/* Title */
.modal-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* File Input Style */
.file-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 8px 0 15px 0;
}

/* Upload Button */
.upload-btn {
    width: 100%;
    padding: 12px;
    background: #ff1d74;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.upload-btn:hover {
    background: #e01465;
}

/* Message Area */
.msg {
    display: none;
    padding: 10px;
    color: green;
    font-size: 14px;
    margin-bottom: 10px;
}




/* ============================
   GENERAL DOCUMENT MODAL
   ============================ */

/* Background overlay */
.custom-modal-general {
    /* display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center; */

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Modal box */
.custom-modal-content-general {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 420px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: modalPopGeneral 0.35s ease-out;
}

/* Smooth animation */
@keyframes modalPopGeneral {
    0% {
        transform: translateY(-40px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close button */
.close-general {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.close-general:hover {
    color: #000;
}

/* Title */
.modal-title-general {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* File label */
.file-label-general {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* File input */
.file-input-general {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 8px 0 15px 0;
}

/* Upload button */
.upload-btn-general {
    width: 100%;
    padding: 12px;
    background: #ff1d74;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.upload-btn-general:hover {
    background: #e01465;
}

/* Message (success/error) */
.msg-general {
    display: none;
    padding: 10px;
    margin-bottom: 10px;
    color: green;
    font-size: 14px;
}



.toast-message.success {
    background-color: #28a745;
}

.toast-message.error {
    background-color: #dc3545;
}

.toast-message.info {
    background-color: #17a2b8;
}




.note-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-subject {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.note-date {
    font-size: 13px;
    color: #777;
}

.note-body p {
    font-size: 15px;
    color: #444;
    margin: 10px 0 15px 0;
}

.note-footer {
    display: flex;
    justify-content: flex-end;
}

.ack-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.ack-btn:hover {
    background: #1f7e36;
}

.status.ack {
    background: #d4f8e8;
    color: #0a8d50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}


.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f39c12;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.notification-popup button {
    margin-left: 10px;
    background: #fff;
    color: #f39c12;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}



.notification-counter {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #fff;
    color: #ff1d74;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}



/* Modal Overlay */
.person-modal {
    /* display: none;
    position: fixed;
    z-index: 10000;
    left:0; top:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center; */

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Modal Box */
.person-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 450px;
    position: relative;
}

/* Close Button */
.person-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* Person Section & Rows */
.person-section {
    margin-bottom: 20px;
}

.person-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.file-label-person {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}



/* Base badge styling */
/* Critical: Deep Red on Light Red */
.badge-critical {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* High: Deep Orange on Light Orange */
.badge-high {
    background-color: #ffedd5 !important;
    color: #9a3412 !important;
    border: 1px solid #fed7aa !important;
}

/* Medium: Deep Blue on Light Blue */
.badge-medium {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}

/* Low: Deep Gray on Light Gray */
.badge-low {
    background-color: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
}

/* Professional Judicial Colors */

/* Police Station: Teal/Cyan (Process Start) */
.badge-police {
    background-color: #ecfeff !important;
    color: #0891b2 !important;
    border: 1px solid #cffafe !important;
}

/* Magistrate Court: Indigo (Mid-Level Authority) */
.badge-magistrate {
    background-color: #e0e7ff !important;
    color: #4338ca !important;
    border: 1px solid #c7d2fe !important;
}

/* Crown Court: Deep Purple (Highest Authority) */
.badge-crown {
    background-color: #f5f3ff !important;
    color: #6d28d9 !important;
    border: 1px solid #ddd6fe !important;
}

/* Pending: Amber/Gold (Waiting/In-Progress) */
.badge-pending {
    background-color: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fef3c7 !important;
}

/* Complete: Emerald/Green (Success) */
.badge-complete {
    background-color: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #d1fae5 !important;
}




/* Custom Select List */
.customerShortCode {
    font-size: 13px;
    font-family: var(--fontFamily);
    color: #33333399;
}

.custom-select-list-container .custom-select-wrapper {
    position: relative;
}

.custom-select-list-container .custom-select-dropdown li:hover {
    background-color: #f8f9fa;
    color: #333;
    transition: 0.5s;
}

.custom-select-list-container .custom-select-placeholder.edit-text {
    color: #333 !important;
}

.custom-select-list-container .custom-select {
    border: 1px solid var(--webMainColor);
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    background: #fff;
    transition: all 0.2s;
    height: calc(2.25rem + 8px) !important;
}

.custom-select-list-container .custom-select.active {
    border: 2px solid var(--webMainColor);
}

.modal,
.pac-container {
    z-index: 999999 !important;
}

.custom-select-list-container .custom-select-placeholder {
    color: #343747;
    font-size: 14px;
}

.custom-select-list-container .custom-select-arrow {
    transition: transform 0.2s;
    font-size: 12px;
}

.custom-select-list-container .custom-select.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-list-container .custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #d1d5db;
    border-top: none;
    display: none;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
}

.custom-select-list-container .search-container {
    padding: 0.5rem 1rem;
    background: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-select-list-container .search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--webMainColor);
    border-radius: 6px;
    font-size: 14px;
}

.custom-select-list-container .custom-select-dropdown li {
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccccccab;
    width: 100%;
}

.custom-select-list-container .custom-select-dropdown li:last-child {
    border-bottom: none;
}

.custom-select-list-container .no-results {
    text-align: center;
    padding: 1rem;
    color: #6b7280;
    font-style: italic;
    display: none;
}

.custom-select-list-container .add-new-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 97, 238, 0.05);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-top: 1px dashed #d1d5db;
    display: none;
}

.custom-select-list-container .add-new-option:hover {
    background: rgba(67, 97, 238, 0.1);
}

.custom-select-list-container .selected-info {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 4px solid #4361ee;
    border-radius: 8px;
}

.custom-select-list-container .selected-info.show {
    display: block;
}

.custom-select-list-container .customer-info {
    flex-grow: 1;
}

.custom-select-list-container .custom-select {
    border: 1px solid grey;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
    height: calc(2.25rem + 8px) !important;
    background-color: #fff;
    color: #343747;
}

.custom-select-list-container .custom-select.active {
    border: 2px solid #214f79;
}

/* custom select list iframe css */

.select2-selection__clear {
    display: none !important;
}

.flatpickr-calendar {
    z-index: 9999999 !important;
}

.swal2-container {
    z-index: 9999999 !important;
}

.back-btn-header.top {
    position: fixed;
    top: 18px;
    left: 275px;
    z-index: 999;
}

.back-btn-header {
    width: 500px;
}

.back-btn-header .text {
    font-weight: bold;
    font-size: 16px;
}

.back-btn-header .cm-back-btn {
    width: 35px;
    height: 35px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    border-radius: 50%;
    font-size: 13px;
    box-shadow: 0 0 1px #333;
}



.drop_button {
    border-radius: 20px;
    border: 1px solid lightgrey;
    background-color: #fff;
    padding: 6px 25px;
    /* text-transform: uppercase; */
    /* font-weight: 600; */
    color: black;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    transition: .2s;
}

.drop_button:focus,
.drop_button:hover {
    background-color: #d9e9ff;
}

.drop_button i {
    transition: .3s ease-in-out;
    margin-left: 10px;
    position: relative;
    display: inline-block;
}

.drop_button:focus {
    pointer-events: none;
}

.drop_button:focus~.drop_button_dropdown {
    top: calc(80% + 10px);
    opacity: 1;
    pointer-events: auto;
}

.drop_button:focus i {
    transform: rotate(180deg);
}

.drop_button_dropdown-container {
    position: relative;
    margin-right: 5px;
}

.drop_button_dropdown {
    position: absolute;
    top: calc(80% + 10px);
    width: 100%;
    border-radius: 10px;
    transition: .3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    padding: 5px;
    background: #fff;
    border: solid 1px lightgrey;
    z-index: 999 !important;
}

.drop_button_dropdown a {
    text-decoration: none;
    border-radius: 5px;
    user-select: none;
    font-size: 12px;
    padding: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
    color: #a9a9a9;
    font-weight: 600;
    transition: .2s;
}

.drop_button_dropdown a:hover {
    background-color: #d9e9ff;
    color: black;
}

#client_list {
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

#client_list li {
    cursor: pointer;
}



.disabled {
    background-color: lightgrey !important;
}

/* .add-matter-tab {
    background: url("{{ asset('images/Dashboard/Add_Matter_bg.png') }}");
    background-size: cover;
    background-position: center;
} */

.custom_input_select {
    margin-right: 5px;
    height: 30px !important;
    padding: 0px 10px !important;
    width: 140px !important;
    border-radius: 20px !important;
    background-color: #fff !important;
    border: 1px solid lightgrey !important;
    font-size: 12px !important;
}

.client-item.active-item {
    background: #f0f0f0 !important;
    font-weight: 500;
}


.back-btn-header {
    margin-left: 15px;
}

.back-btn-header.top {
    margin-left: 0px !important;
}


/* real values */
select {
    color: #000;
}


.add-matter-tab {
    background: url("../images/Dashboard/Add_Matter_bg.png");
    background-size: cover;
    background-position: center;
}

/* fullscreen-overlay ---------------------------------------------- */
.fullscreen-overlay{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:99999;
}

.fullscreen-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.progress-card{
  width:100%;
  max-width:420px;
  background:#fff;
  padding:2rem;
  border-radius:16px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.pulse-loader{
  width:55px;
  height:55px;
  background:#0d6efd;
  border-radius:50%;
  margin:0 auto 20px;
  animation:pulse 1.3s infinite;
}

@keyframes pulse{
  0%{transform:scale(.8);opacity:.5}
  50%{transform:scale(1.1);opacity:1}
  100%{transform:scale(.8);opacity:.5}
}
/* fullscreen-overlay ---------------------------------------------- */

 #caseBundleFiles .table-responsive {
            overflow-x: auto;
        }

        #caseBundleFiles .table-responsive .form-control {
            height: auto;
            border-radius: 5px;
        }