body {
    padding-bottom: 30px;
    position: relative;
    min-height: 100vh;
    background-color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

a {
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
}

#wrapper {
    padding-left: 0 !important;
    transition: all 0.5s ease;
    position: relative;
    background-color: #dee9fc;
    min-height: 100vh;
}

::placeholder {
    color: #b0b0b0 !important;
}


#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

.sidebar-brand {
    width: 250px;
    height: 105px;
    text-align: center;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-brand img {
    transition: all 0.5s ease;
}

#wrapper.toggled .sidebar-brand {
    width: 80px;
    transition: all 0.5s ease;
}

#wrapper.toggled .sidebar-brand .logobig {
    display: none;
}

#wrapper.toggled .sidebar-brand .logosmall {
    display: block;
}

.sidebar-brand .logosmall {
    display: none;
}

.sidebar-nav {
    position: absolute;
    top: 105px;
    width: 250px;
    margin: 0;
    padding: 20px 15px;
    list-style: none;
    height: calc(100vh - 105px);
    overflow-y: auto;
}

.card-body {
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #c6c6c6;
    border-radius: 5px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #c6c6c6;
}

#wrapper.toggled .sidebar-nav {
    width: 80px;
}

.sidebar-nav>li {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sidebar-nav>li a,
.topMenu .tmBtn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 14px 0px;
    line-height: 1;
    opacity: 0.7;
    width: 100%;
}

.sidebar-nav li .dropdown-toggle::after,
.topMenu .tmBtn:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
}

.sidebar-nav>li>a:hover,
.sidebar-nav>li.active>a {
    opacity: 1;
}


.sidebar-nav>li>a .icon,
.topMenu .tmBtn .icon {
    font-size: 24px;
    width: 34px;
    margin-right: 12px;
}

.topMenu {
    border-top: 1px solid #e9e2e2;
    padding: 8px 0;
    margin: 0 0 8px;
    border-bottom: 1px solid #e9e2e2;
}

.topMenu .tmBtn {
    color: #66615b;
    opacity: 1;
    font-weight: 400;
    font-size: 1.1em;
}

.topMenu .tmBtn .txts {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 130px;
    display: inline-block;
}

#wrapper.toggled .topMenu .tmBtn .txts,
#wrapper.toggled .sidebar-nav>li>a span {
    display: none;
}

.sidebar-nav .dropdown-menu {
    position: relative !important;
    top: inherit;
    transform: inherit !important;
    border: 0;
    min-width: inherit;
    width: 100%;
    border-radius: 0;
}

.sidebar-nav .dropdown-menu li .dropdown-item {
    margin: 0 0 0;
    color: #000;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    padding: 10px 8px;
    opacity: 0.7;
}

.sidebar-nav .dropdown-menu li .dropdown-item:hover {
    opacity: 1;
    background-color: transparent;
}

.sidebar-nav .dropdown-menu li .dropdown-item span {
    width: 34px;
    margin: 0 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


#wrapper.toggled .sidebar-nav li .dropdown-toggle::after,
#wrapper.toggled .topMenu .tmBtn:after,
#wrapper.toggled .sidebar-nav .dropdown-menu {
    display: none;
}

#content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px 30px;
    top: 100px;
    min-height: 100%;
}

#wrapper.toggled #content-wrapper {
    position: absolute;
    margin-right: -250px;
}

.cw-navbar {
    width: 100%;
    color: #fff;
    background: #013d7b;
    border-radius: 5px;
    padding: 10px 10px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}

.cw-navbar .cw-menu-btn {
    height: 2.375rem;
    min-width: 2.375rem;
    width: 2.375rem;
    padding: 0;
    font-size: 24px;
    overflow: hidden;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 100%;
    text-decoration: none;
    color: #000;
    margin-right: 20px;
    transition: 0.3s all;
}

.cw-navbar .cw-menu-btn:hover {
    background-color: #403d39;
    color: #fff;
}

#wrapper.toggled .cw-navbar .cw-menu-btn {
    transform: rotate(180deg);
}

.cw-navbar h5 {
    font-size: 20px;
    font-weight: bolder;
    text-transform: capitalize;
    margin: 0;
}

.cw-notification {
    position: relative;
}

.cw-notification .cw-notify {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 31px;
}

.cw-notification .cw-notify:after {
    display: none;
}

.cw-notification .cw-notify:hover {
    color: #fff;
}

.cw-notification .cw-notify .icon {
    background-color: #f54747;
    border: 2px solid;
    border-radius: 11px;
    color: #fff;
    display: block;
    font-size: 10px;
    font-family: helvetica;
    height: 17px;
    line-height: 8px;
    min-width: 9px;
    padding: 3px;
    position: absolute;
    right: -6px;
    text-align: center;
    top: 3px;
    transition: all 0.1s ease-in-out;
}

.cw-notification .dropdown-menu {
    width: 375px;
    background: #f3f2f2;
    border-radius: 8px;
    position: absolute;
    right: 5%;
    margin-top: 10px;
    padding: 0;
    box-shadow: 0 1px 14px grey;
}

.cw-notification .dropdown-menu .cwd-head {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #dddad9;
    margin: 0;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    border-radius: 10px 10px 0 0;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    min-height: 140px;
    height: 90%;
}

.card-header {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: #013d7b;
    border: 0;
    box-shadow: none;
    border-radius: 10px 10px 0 0 !important;
}

/*Buttons*/
.btn {
    width: 115px;
    height: 34px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 20px;
}

.bore-0 {
    border-radius: 0;
}

.w-35 {
    width: 35px;
    padding: 5px;
}

.btn.txtChip {
    text-align: left;
    width: auto;
}

.txtChip .iconCancel {
    margin-left: 10px;
    color: #fff;
}

.txtChip .iconCancel:hover {
    color: #ff0000;
}

.btn.btn-blue {
    background-color: #013d7b;
    color: #fff;
}

.file-list {
    background-color: rgba(1, 61, 123, 0.1);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.txtFilename {
    font-size: 12px;
    font-weight: 600;
    color: #013d7b;
    max-width: calc(100% - 30px);
}

.iconDelete {
    font-size: 16px;
    color: #ff0000;
    display: block;
    transition: 0.3s all;
}

.iconDelete:hover {
    transform: scale(1.1);
    color: #ff0000;
}

/*Select*/
.form-select {
    font-size: 14px;
    border: 0px;
    border-radius: 20px;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #013d7b url(../images/down-arrow-svgrepo-com.svg) no-repeat 93% 50%;
    background-size: 12px;
    color: #fff;
}

.form-select:focus {
    outline: 0;
    box-shadow: none;
}

/* -------- Update the desing of dropdown ------------- */
.form-select-neutral {
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url(../images/down-arrow-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    color: #212529;
    padding-right: 2rem;
}

.form-select-neutral:focus {
    outline: 0;
    border-color: #013d7b;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.wrap-text {
    word-break: break-word !important;
    white-space: normal !important;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.form-select-white {
    font-size: 14px;
    border: 0px;
    border-radius: 20px;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #013d7b url(../images/down-arrow-svgrepo-com.svg) no-repeat 93% 50%;
    background-size: 12px;
    color: #fff;
}

.form-select:focus {
    outline: 0;
    box-shadow: none;
}

/* styles.css */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-select {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    appearance: auto;
    /* native dropdown arrow */
}

.custom-input {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.chip {
    background-color: #e0e0e0;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.chip span {
    margin-right: 4px;
}

input,
textarea {
    padding: 8px;
}

.delete-button {
    border: 0px;
    background-color: transparent;
}

.img1 {
    height: 40px;
}


.file-list-drive {
    list-style-type: none;
    padding: 0;
}

.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.file-list-item:last-child {
    border-bottom: none;
}

.file-icon {
    font-size: 24px;
    margin-right: 16px;
}

.file-name {
    flex: 1;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.search-container {
    margin-bottom: 20px;
}

.checkbox-container {
    margin-right: 16px;
    /* Adjust the spacing as needed */
}

.blueButton {
    background-color: #013d7b;
    color: whitesmoke;
    border-style: hidden;
    font-size: 14px;
}

.modal-header {
    font-size: 16px;
    background-color: #013d7b;
    color: white;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
}

.subheader {
    font-size: 15px;
}

.modal-body label,
th {
    font-size: 13px;
}

.blueButton {
    background-color: #013d7b;
    color: whitesmoke;
    border-style: hidden;
    font-size: 14px;
}

.filterDD,
#searchBox,
#apiKeyInput,
td {
    font-size: 12px;
}

.filter-container {
    display: flex;
}

.btndoc {
    font-size: 12px;
}

.flex-item {
    flex: 1;
    margin-right: 10px;
    /* Add some space between each dropdown */
}

.caseColumn {
    width: 70%;
}

.searchButton {
    padding: 5px;
    padding-right: 17px;
    display: flex;
    justify-content: flex-end;
    align-items: center
}


/* DataTable Styles */
.data-table {
    width: 100%;
}

/* DataTable Toolbar Styles */
.dataTables_wrapper .toolbar {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* DataTable Header and Filter Styles */
.dataTables_wrapper .dataTables_filter input {
    width: 100%;
    max-width: 300px;
}

/* DataTable Download Button Styles */
.download-btn {
    text-align: center;
}

/* styles.css */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background-color: #e0e0e0;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.chip span {
    margin-right: 4px;
}

.list-group-item {
    padding: 0.1rem 1rem !important;
}

@media (min-width: 992px) {
    #wrapper {
        padding-left: 0px;
    }

    #wrapper.toggled {
        /*            padding-left: 80px;*/
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 80px;
    }

    #wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -190px;
    }

    #wrapper.toggled {
        /*        padding-left: 80px;*/
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #wrapper.toggled #content-wrapper {
        position: relative;
        /*// margin-right: 80px;*/
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #wrapper {
        padding-left: 0px;
    }

    #sidebar-wrapper {
        width: 80px;
    }

    #wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #wrapper.toggled {
        /*        padding-left: 250px;*/
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #wrapper.toggled #content-wrapper {
        position: relative;
        margin-right: 250px;
    }
}

@media (max-width: 767px) {
    #wrapper {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #wrapper.toggled {
        /*        padding-left: 250px;*/
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #wrapper.toggled #content-wrapper {
        position: relative;
        margin-right: 250px;
    }
}

/*billing & medicine page css*/
.sec-page-body {
    position: relative;
    min-height: calc(100vh - 200px);
}

.s-footer {
    font-weight: 500;
    margin: 25px 0 -15px;
}

.border-blue {
    border: 2px solid #2478b6;
    border-left: 6px solid #2478b6;
}

/* .border-blue:after {
  content: url(../images/logo.png);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: grayscale(0.2);
} */
.border-green {
    border: 2px solid #198754;
    border-left: 6px solid #198754;
}

.card-items {
    position: relative;
    margin: 0 0 30px;
}

.card-items h6 {
    font-weight: 500;
    color: #4d4d4d;
    /*        text-decoration: underline;
*/
    line-height: 1.3;
    font-size: 14px;
    margin: 0 0 10px;
}

.card-items h2 {
    font-weight: 500;
    color: #4d4d4d;
    font-size: 30px;
    margin: 0 0;
}



table tr td,
table tbody tr th {
    padding: 20px 15px !important;
    font-size: 14px;
    font-weight: 400;
    text-wrap: nowrap;
}

table tbody tr th {
    font-weight: 500;
}

ul.statistical-item {
    list-style-type: none;
    padding: 0 0 0 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    overflow: hidden;
    overflow-y: auto;
    max-height: 40rem;
}

ul.statistical-item li {
    font-size: 14px;
    font-weight: 600;
    border-top: 1px solid #013c7a;
    padding: 15px 0 0;
    margin: 15px 0 0;
}

ul.statistical-item li:first-child {
    margin-top: 0;
    border-top: 0;
}

ul.statistical-item li h5 {
    font-size: 14px;
    font-weight: 600;
}

.statistic-graph {
    display: block;
    position: relative;
    border: 1px solid #dddad9;
    height: 60px;
}

.statistic-graph {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

textarea.form-control {
    font-size: 14px;
    font-weight: 500;
    resize: none;
}

textarea.form-control:focus {
    outline: 0;
    box-shadow: none;
}

.table-cell-center {
    text-align: center;
}

.warning-bar {
    background-color: yellow;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 6px;
}

.limit-bar {
    background-color: orange;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 6px;
}

.topupbutton {
    border-radius: 5px;
    margin-left: 20px !important;
    width: 220px;
}




.custom-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-modal-content {
    padding: 20px;
}

.custom-modal-header {
    border-bottom: 1px solid #ccc;
    /*padding-bottom: 10px;*/
    text-align: center;
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.custom-modal-body {
    text-align: justify;
    margin-bottom: 20px;
}

.custom-ul {
    list-style-type: none;
    padding: 0;
}

.custom-li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.custom-li:before {
    content: "\2022";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
}

.custom-modal-footer {
    text-align: center;
    padding-top: 10px;
}

.custom-btn-primary {
    background-color: #013d7b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.custom-btn-primary:hover {
    background-color: #0056b3;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    background: #013d7b !important;
    color: #ffffff;
    border-right: 1px solid #fff;
    /* Adjust border color as needed */
    text-align: center !important;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px !important;
}

td {
    border: 1px solid #fff;
    /* Adjust border color as needed */
    text-align: center !important;
    border-color: #dee2e6;
}

pagination-pageNr {
    height: 80%;
}

#pagination-pagenumber::after {
    /* Using ::after to add content visually */
    content: 's';
}

/*#pagination-pagenumber {*/
/* Using ::after to add content visually */
/*content: 'Show records';
}*/

.bg-light {
    /*background-color: #013d7b !important;
    color: #fff;*/
    padding-left: 2px;
    min-height: 41px !important;
}


.btn-light {
    /*background-color: #013d7b !important;
    color: #fff;*/
    padding-left: 2px;
    height: 41px !important;

}

.custom-select-md {
    height: 41px !important;
}

.pagination-pageNr {
    height: 41px !important;
}

/* Custom CSS */
@media (min-width: 768px) {

    /* Adjust this breakpoint if you're using a version of Bootstrap where the md breakpoint is different */
    .col-md-2-5 {
        flex: 0 0 19%;
        max-width: 19%;
    }

    .col-md-9-5 {
        flex: 0 0 81%;
        max-width: 81%;
    }
}


#loading-bar {
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #5aaf4b;
    /* Loading bar color */
    z-index: 9999;
    animation: loading 1s linear infinite;
}

.disable {
    pointer-events: none !important;
    color: #ccc;

}

.notification-list {
    background: #f3f2f2;
    padding: 0px 15px;
    padding-bottom: 0;
    max-height: 375px;
    overflow: auto;

    .grid-container {
        border-bottom: 1px solid #e2e0df;
        padding: 4px 0;

        .icon-container {
            padding: 0;
            padding-top: 8px;
            display: flex;
            justify-content: center;

            div {
                width: 35px;
                height: 35px;
                background: #6bb7e4;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 4px;

                i {
                    color: white;
                }
            }
        }

        .message-container {
            padding: 0;
            padding-top: 8px;

            h2 {
                font-size: 14px;
                margin: 0;
                font-weight: bold;
                color: #0b0a0a;
            }

            ul {
                margin: 0;
                font-size: 13px;
                list-style: none;
                padding: 0;
                /*padding-left: 12px;*/
                color: #121011;

                li {
                    white-space: normal;
                    text-transform: none;
                }
            }

            .date-container {
                display: flex;
                align-items: center;

                small {
                    font-size: 11px;
                }
            }
        }
    }
}

.d-none {
    display: none;
}

/*.tab-filling.tab-filling-left {
    border-bottom: 1px solid var(--main-color);
    width: 10%;

}
.tab {
    font-size: 20px;
    min-width: 300px !important;
    padding: 10px 10px !important;

}
.tab-active {
    font-weight: 500 !important;
}*/


#exTab1 .tab-content {
    color: white;
    background-color: #428bca;
    padding: 5px 15px;
}

#exTab2 h3 {
    color: white;
    background-color: #428bca;
    padding: 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills>li>a {
    border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills>li>a {
    border-radius: 4px 4px 0 0;
}

#exTab3 .tab-content {
    color: white;
    background-color: #428bca;
    padding: 5px 15px;
}

.table-responsive {
    height: 100% !important;
}

.table-responsive table td {
    vertical-align: middle;
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}



/* Legal Tabs container */
.legal-tabs-container {
    border-bottom: 1px solid #ccc;
    /*margin-bottom: 20px;*/
}

/* Normal Legal Tab */
.legal-tab-item {
    background: none;
    border: none;
    padding: 12px 24px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #555555c7;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

/* Active Legal Tab */
.legal-tab-item-active {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    padding: 12px 24px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: #1d4477;
    font-weight: 500;
}

/* Hover Effect */
.legal-tab-item:hover {
    background-color: #f0f0f0;
}

/* Content below Legal Tabs */
.legal-tab-content {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-top: none;
    padding: 20px;
    border-radius: 0 8px 8px 8px;
}




.legal-ai button {
    border-color: #009e7270;
    background-color: #009e72;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.legal-ai-btn:hover {
    background-color: #5980a8;
    color: white;
}

/* Overlay sits below the navbar */
.legal-ai-overlay-body {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    /*background-color: rgba(0, 0, 0, 0.1);*/
    z-index: 1049;
}

.legal-ai-sidepanel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        right: -400px;
    }

    to {
        right: 0;
    }
}

.legal-ai-header {
    padding: 1rem;
    background-color: #009e72;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-ai-tabs {
    padding: 0.5rem 1rem;
    background: #f6f6f6;
}

.legal-ai-tabs .tab {
    cursor: pointer;
    font-weight: 500;
    color: #5980a8;
}

.legal-ai-tabs .tab.active {
    border-bottom: 2px solid #5980a8;
}

.legal-ai-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;

}

.legal-compliance-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.legal-compliance-header {
    background-color: #083F7D;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.legal-compliance-body {
    padding: 1.25rem;
}

.legal-compliance-card table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.legal-compliance-card .list-group-item {
    padding-left: 0;
    padding-right: 0;
    border: none;
}

.template-placeholder-field {
    border: 1px solid #ccc;
    padding: 3px 8px;
    font-size: 1rem;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin: 0 3px;
    transition: background-color 0.2s, border-color 0.2s;
    width: 4vh;
    width: auto;
    min-width: 50px;
    display: inline-block;
}

.template-highlighted {
    background-color: #f3e6ff !important;
    border: none !important;
}

.chat-message {
    background: #eef3f8;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.chat-footer {
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.legal-ai-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1049;
}


.chat-footer-enhanced {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
    gap: 8px;
}

.legal-ai-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}

.send-btn {
    background-color: #009e72;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #476a8a;
}


.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    max-width: 95%;
}

.chat-message.user {
    background-color: #e9f3ff;
    align-self: flex-end;
}

.chat-message.assistant {
    background-color: #f5f5f5;
    align-self: flex-start;
}


.chat-reset-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.chat-reset-button .btn {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}

.chat-input-area {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.reset-convo-btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
    font-size: 20px;
    line-height: 1;
    animation: blink 1.4s infinite;
}

.typing-dots span {
    animation: bounce 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.typing-gif {
    height: 7px;
    width: auto;
    /*    border-radius: 8px;
*/
    display: inline-block;
}

.typing-cursor {
    animation: blink 1s step-end infinite;
    font-weight: bold;
    color: #5980a8;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* User Menu Popup Styles */
.user-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 999;
}

.user-menu-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
}

.user-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu-list li {
    margin: 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    padding: 10px 16px;
    opacity: 0.7;
    transition: opacity 0.2s, background-color 0.2s;
}

.user-menu-item:hover {
    opacity: 1;
    background-color: #f5f5f5;
}

.user-menu-item span {
    width: 34px;
    margin: 0 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-item span img {
    max-width: 50%;
}

/*-------  Request Template Popup Styles ------*/
.request-template-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    margin: 0;
}

.request-template-popup {
    max-width: 500px;
    width: 90%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.request-template-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
}

.request-template-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.request-template-header .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-template-header .btn-close:hover {
    opacity: 0.75;
}

.request-template-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.request-template-body .small-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.request-template-body .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #000;
}

.request-template-body .form-control {
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
}

.request-template-body .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.headline-btn {
    height: 2.1rem;
    min-width: 2.1rem;
    width: 2rem;
    padding: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 100%;
    text-decoration: none;
    color: #000;
}

/* =====================================================
   PAGINATION ? PROFESSIONAL OVERRIDE (NO HTML CHANGES)
   ===================================================== */

.input-group.paging {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6px;
}

/* LEFT SIDE (Show record + page size) */
.input-group.paging>.input-group-prepend:nth-child(1) {
    margin-right: 6px;
}

/* Push pagination controls to right */
.input-group.paging>.input-group-prepend[style*="margin-left: auto"] {
    margin-left: auto !important;
}

/* Page size dropdown */
.pagesize-selector select {
    height: 34px;
    min-width: 60px;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================
   PAGINATION BUTTONS
   ========================== */

#pagination-first,
#pagination-previous,
#pagination-next,
#pagination-last {
    width: 34px !important;
    height: 34px;
    padding: 0;
    font-size: 14px;
    border-radius: 4px !important;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

#pagination-first:hover,
#pagination-previous:hover,
#pagination-next:hover,
#pagination-last:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

/* Disabled look (if disabled attribute is present) */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================
   PAGE NUMBER INPUT
   ========================== */

.pagination-pageNr {
    width: 52px !important;
    height: 34px;
    text-align: center;
    font-size: 14px;
    padding: 0;
    border-radius: 4px;
}

/* ==========================
   PAGE LABELS
   ========================== */

#pagination-page,
#pagination-page-count,
#pagination-pagenumber {
    height: 34px;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 0 8px;
    border-radius: 4px;
}

/* Remove extra rounded edges from Bootstrap input group */
.input-group>.input-group-prepend>.btn,
.input-group>.input-group-append>.btn,
.input-group>.input-group-prepend>.input-group-text,
.input-group>.input-group-append>.input-group-text {
    border-radius: 4px !important;
}

/* ==========================
   RESPONSIVE (SMALL SCREENS)
   ========================== */

@media (max-width: 768px) {
    .input-group.paging {
        flex-wrap: wrap;
    }

    .input-group.paging>.input-group-prepend[style*="margin-left: auto"] {
        margin-left: 0 !important;
    }
}

.input-group.paging>.input-group-prepend:nth-child(2) {
    margin-right: auto !important;
}

/*----- Desing of shadow popup -----*/
.modal-backdrop {
    margin: 0% !important;
}

/*----- Desing of tinymce additional toolbar ------*/
.tox-tinymce-aux {
    z-index: 2 !important;
}