: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: 750px !important;
    z-index: 9999;
    float: right !important;
    right: -750px;
    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;
}


#flashMessage {
    font-family: "InterFont", sans-serif !important;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* min-width: 400px;
    max-width: 475px; */
    width: 500px !important;
    background: #fff;
    color: #333;
    padding: 20px 20px;
    border-radius: 20px;
    /* box-shadow: 0 4px 12px #D7FF93; */
    border: solid 1px #fff;
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.5s ease;
    box-shadow: 0 0 0 1px #0001;
}

.max_width98 {
    max-width: 98%;
}

#flashMessage a {
    color: #333;
}

#flashMessage img {
    width: 85px !important;
    background: #fff;
    padding-right: 20px;
    border-radius: 100px;
    float: left;
    margin-top: 12px;
}

#flashMessage span {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px !important;
    float: left;
    padding-left: 10px;
    color: #333;
}

#flashMessage small {
    color: #333 !important;
    font-size: 16px !important;
    line-height: 30px !important;
    float: left;
    padding-left: 10px;
}

#flashMessage .flash-close {
    position: absolute;
    right: 0;
    font-size: 25px;
    z-index: 9999999;
}

/* matter prfile history css */
.matter-profile-history-con .log-card {
    border: 0;
    border-left: 5px solid var(--btnColor);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
}

.matter-profile-history-con .log-card:hover {
    transform: translateY(-2px);
}

.matter-profile-history-con .log-header {
    font-size: 15px;
}

.matter-profile-history-con .log-meta {
    font-size: 12px;
    color: #6c757d;
}

.matter-profile-history-con .badge-status {
    font-size: 11px;
    padding: 5px 10px;
}

.matter-profile-history-con .timeline-date {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* matter prfile history css */

/* AI assistant  */

    /* ---- FLOATING BUTTON (bottom right) ---- */
    /* .ai-fab {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 999;
      width: 70px;
      height: 70px;
      border-radius: 60px;
      background: #023373 !important;
      border: none;
      box-shadow: 0 12px 28px -4px rgba(10, 30, 60, 0.6), 0 0 0 2px rgba(255,255,255,0.4);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 2.2rem;
    }

    .ai-fab:hover {
      transform: scale(1.07);
      box-shadow: 0 18px 36px -6px #0a1e36, 0 0 0 3px rgba(255,255,255,0.6);
      background: linear-gradient(135deg, #234b72, #33679e);
    } */

    /* .ai-fab:active {
      transform: scale(0.92);
    } */

    /* ---- MODAL OVERLAY (full screen) ---- */
    .ai-modal-overlay {
        position: fixed;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.2s;
        padding: 1.2rem;
        right: 89px;
        bottom: 10px;
        max-width: 620px !important;
    }

    .ai-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* ---- Modal card (chat container) ---- */
  .ai-modal-overlay  .modal-card {
      background: #ffffff;
      max-width: 580px;
      width: 100%;
      height: 90vh;
      max-height: 700px;
      border-radius: 1rem;
      box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
      display: flex;
      flex-direction: column;
      transform: scale(0.94) translateY(14px);
      transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.2s;
      opacity: 0;
      border: 1px solid rgba(255,255,255,0.2);
      overflow: hidden;
    }

    .ai-modal-overlay.active .modal-card {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    /* ---- modal header ---- */
   .ai-modal-overlay .modal-header {
      padding: 0.5rem 1rem;
      background: #f8fcff;
      border-bottom: 1px solid #e2ebf5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }

   .ai-modal-overlay .modal-header .title {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 1.2rem;
      font-weight: 600;
      color: #142b44;
    }

   .ai-modal-overlay .modal-header .title i {
      color: #2b5b8a;
      font-size: 1.6rem;
    }

   .ai-modal-overlay .close-modal {
          background: none;
    border: none;
    font-size: 1.8rem;
    color: #5a6f88;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    transition: 0.15s;
    width: 30px;
    height: 30px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    }

   .ai-modal-overlay .close-modal:hover {
      background: #e2ebf5;
      color: #142b44;
    }

    /* ---- chat messages (scrollable) ---- */
   .ai-modal-overlay .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 1.2rem 1.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      background: #fafcff;
      scroll-behavior: smooth;
    }

   .ai-modal-overlay .chat-messages::-webkit-scrollbar {
      width: 5px;
    }

  .ai-modal-overlay  .chat-messages::-webkit-scrollbar-track {
      background: #e2ebf5;
      border-radius: 20px;
    }

  .ai-modal-overlay  .chat-messages::-webkit-scrollbar-thumb {
      background: #b3cae0;
      border-radius: 20px;
    }

    /* message bubbles */
   .ai-modal-overlay .message.ai {
      max-width: 85%;
      padding: 0.7rem 1.2rem;
      border-radius: 1.8rem;
      font-size: 0.95rem;
      line-height: 1.5;
      word-break: break-word;
      animation: fadeSlide 0.2s ease;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

   .ai-modal-overlay .message.user {
      align-self: flex-end;
      background: linear-gradient(135deg, #1e3b5e, #2b5b8a);
      color: white;
      border-bottom-right-radius: 0.3rem;
    }

   .ai-modal-overlay .message.ai {
      align-self: flex-start;
      background: #eef4fa;
      color: #142b44;
      border-bottom-left-radius: 0.3rem;
      border: 1px solid #dae6f2;
    }

  .ai-modal-overlay  .message .msg-time {
      font-size: 0.65rem;
      opacity: 0.6;
      margin-top: 4px;
      display: block;
      text-align: right;
    }

   .ai-modal-overlay .message.ai .msg-time {
      color: #2a4b6e;
    }

   .ai-modal-overlay .message.user .msg-time {
      color: #bed7f0;
    }

    @keyframes fadeSlide {
      0% { opacity: 0; transform: translateY(8px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* file preview inside chat */
  .ai-modal-overlay  .file-attach-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #dce8f5;
      padding: 0.2rem 0.8rem 0.2rem 0.5rem;
      border-radius: 40px;
      font-size: 0.8rem;
      margin-top: 0.4rem;
      color: #1f3a5f;
    }

   .ai-modal-overlay .message.user .file-attach-badge {
      background: rgba(255, 255, 255, 0.15);
      color: #ffffff;
    }

   .ai-modal-overlay .message.user .file-attach-badge i {
      color: #ffffff;
    }

   .ai-modal-overlay .file-attach-badge i {
      color: #2b5b8a;
    }

    /* ---- input area + file upload ---- */
   .ai-modal-overlay .input-area {
      padding: 0.8rem 1.2rem 1.2rem;
      background: #f8fcff;
      border-top: 1px solid #e2ebf5;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      flex-shrink: 0;
    }

   .ai-modal-overlay .input-row {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

   .ai-modal-overlay .input-row input[type="text"] {
      flex: 1;
      padding: 0.7rem 1.2rem;
      border: 1px solid #d4e0ee;
      border-radius: 60px;
      font-size: 0.95rem;
      background: white;
      outline: none;
      transition: 0.15s;
    }

   .ai-modal-overlay .input-row input[type="text"]:focus {
      border-color: #2b5b8a;
      box-shadow: 0 0 0 3px #2b5b8a20;
    }

   .ai-modal-overlay .input-row button {
      background: #023373;
      border: none;
      color: white;
      width: 48px;
      height: 48px;
      border-radius: 60px;
      font-size: 1.3rem;
      cursor: pointer;
      transition: 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

   .ai-modal-overlay .input-row button:hover {
      background: #1e3b5e;
      transform: scale(0.96);
    }

   .ai-modal-overlay .input-row button:active {
      transform: scale(0.88);
    }

    /* file upload bar */
   .ai-modal-overlay .file-upload-bar {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.2rem 0.2rem 0.2rem 0.8rem;
      background: #eef4fa;
      border-radius: 60px;
      border: 1px dashed #b6cee6;
      transition: 0.2s;
    }

  .ai-modal-overlay  .file-upload-bar .file-label {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      color: #1f3a5f;
      font-size: 0.9rem;
      cursor: pointer;
      flex: 1;
      padding: 0.3rem 0;
      margin-bottom: 0px;
    }

   .ai-modal-overlay .file-upload-bar .file-label i {
      color: #2b5b8a;
      font-size: 1.1rem;
    }

  .ai-modal-overlay  .file-upload-bar .file-label span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 140px;
    }

   .ai-modal-overlay .file-upload-bar .clear-file-btn {
      background: transparent;
      border: none;
      color: #6f8aa8;
      font-size: 1.1rem;
      padding: 0.2rem 0.8rem;
      border-radius: 40px;
      cursor: pointer;
    }

   .ai-modal-overlay .file-upload-bar .clear-file-btn:hover {
      background: #dce6f2;
      color: #b13e3e;
    }

  .ai-modal-overlay  #fileInput {
      display: none;
    }

    /* toast / status */
   .ai-modal-overlay .toast-msg {
      background: #e3f0e9;
      border-radius: 60px;
      padding: 0.3rem 1rem;
      font-size: 0.8rem;
      color: #0a3b2a;
      border: 1px solid #b3d3c2;
      display: none;
      text-align: center;
      margin-top: 0.2rem;
    }

  .ai-modal-overlay  .toast-msg.show {
      display: block;
    }

    /* responsive */
    @media (max-width: 550px) {
     .ai-modal-overlay .modal-card { max-height: 95vh; height: 95vh; border-radius: 1.8rem; }
     .ai-modal-overlay .demo-card { padding: 1.8rem 1rem; }
    }
/* AI assistant  */


/* button custom css  */

.transparent-btn,
.transparent-btn:hover,
.transparent-btn:focus,
.transparent-btn:active,
.transparent-btn:focus-visible {
    border-radius: 50px;
    border: 1px solid #ddd;
    padding: 5px 20px;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: inherit;
    box-shadow: none;
    text-decoration: none;
    border-color: #ddd !important;
}

/* button custom css  */

.btn-outline-success,
.btn-outline-primary{
    border-color: var(--btnColor) !important;
    color: #333 !important;
}
.btn-outline-primary:hover,
.btn-outline-success:hover{
    background-color: var(--btnColor) !important;
    color: #fff !important;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>ul {
    left: 40px;
}










/* Dashboard ai button */

.ai-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    position: fixed;
    bottom: 32px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(20, 40, 80, 0.35),
                0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-fab img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    pointer-events: none;
}

.ai-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(20, 40, 80, 0.45);
}

.ai-fab:active {
    transform: scale(0.94);
}

.ai-fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid #2563eb;
    opacity: 0.5;
    animation: aiFabPulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes aiFabPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

.ai-fab::after {
    content: attr(title);
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ai-fab:hover::after {
    opacity: 1;
}

@media (max-width: 576px) {
    .ai-fab {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }
    .ai-fab img {
        width: 28px;
        height: 28px;
    }
}

/* Dashboard ai button */
.spinner-grow {
    --bs-spinner-animation-speed: 1.2s;
}


/* Select2 multi-select container fix */
.select2-container--default .select2-selection--multiple {
    min-height: 42px !important;
    height: auto !important;
    padding: 4px 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    overflow: visible !important;
}

/* Individual tag/item styling */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    margin-right: 6px !important;
    float: left !important;
    position: relative !important;
}

/* Default / Personal mailbox toggle */
.mailbox-toggle .btn {
    --bs-btn-color: #023373;
    --bs-btn-border-color: #023373;
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #023373;
    --bs-btn-hover-border-color: #023373;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #023373;
    --bs-btn-active-border-color: #023373;
    --bs-btn-focus-shadow-rgb: 2, 51, 115;
}
.mailbox-toggle .btn-check:checked + .btn,
.mailbox-toggle .btn-check:active + .btn,
.mailbox-toggle .btn:hover {
    background-color: #023373 !important;
    border-color: #023373 !important;
    color: #fff !important;
}

#selected_email_choice {
    background: #023373 !important;
    color: #fff !important;
}