* {
    scrollbar-width: thin;
    scrollbar-color: hsl(213, 10%, 83%) transparent;
}

:root {
    --primary-color: #1976D2;
    --primary-hover: #1565C0;
    --green-accent: #34c759;
    --secondary-color: #2c3e50;
    --bg-color: #f5f7fa;
    --container-bg: #ffffff;
    --border-color: #e0e6ed;
    --text-color: #343a40;
    --light-text: #6c757d;
    --success-color: #2e7d32;
    --error-color: #d32f2f;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
}

.body-bg-light {
    background-color: #f1f5f9;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000;
}

a:focus {
    outline: none;
}

b, strong {
    font-weight: 700;
}

.font-size-10px {
    font-size: 10px !important;
}

.font-size-11px {
    font-size: 11px !important;
}

.font-size-12px {
    font-size: 12px !important;
}

.font-size-13px {
    font-size: 13px !important;
}

.font-size-14px {
    font-size: 14px !important;
}

.font-size-15px {
    font-size: 15px !important;
}

.font-size-16px {
    font-size: 16px !important;
}

.font-size-17px {
    font-size: 17px !important;
}

.font-size-18px {
    font-size: 18px !important;
}

.font-size-19px {
    font-size: 19px !important;
}

.font-size-20px {
    font-size: 20px !important;
}

.font-size-21px {
    font-size: 21px !important;
}

.font-size-22px {
    font-size: 22px !important;
}

.font-size-23px {
    font-size: 23px !important;
}

.font-size-24px {
    font-size: 24px !important;
}

.font-size-25px {
    font-size: 25px !important;
}

.font-size-26px {
    font-size: 26px !important;
}

.font-size-27px {
    font-size: 27px !important;
}

.font-size-28px {
    font-size: 28px !important;
}

.font-size-29px {
    font-size: 29px !important;
}

.font-size-30px {
    font-size: 30px !important;
}

.font-size-31px {
    font-size: 31px !important;
}

.font-size-32px {
    font-size: 32px !important;
}

.font-size-33px {
    font-size: 33px !important;
}

.font-size-34px {
    font-size: 34px !important;
}

.font-size-35px {
    font-size: 35px !important;
}

.font-size-36px {
    font-size: 36px !important;
}

.font-size-38px {
    font-size: 38px !important;
}

.font-size-40px {
    font-size: 40px !important;
}

.font-size-42px {
    font-size: 42px !important;
}

.font-size-48px {
    font-size: 48px !important;
}

.line-height-10px {
    line-height: 10px !important;
}

.line-height-11px {
    line-height: 11px;
}

.line-height-12px {
    line-height: 12px;
}

.line-height-13px {
    line-height: 13px;
}

.line-height-14px {
    line-height: 14px;
}

.line-height-15px {
    line-height: 15px;
}

.line-height-16px {
    line-height: 16px;
}

.line-height-18px {
    line-height: 18px;
}

.line-height-21px {
    line-height: 21px;
}

.line-height-24px {
    line-height: 24px;
}

.line-height-28px {
    line-height: 28px;
}

.line-height-32px {
    line-height: 32px;
}

.line-height-36px {
    line-height: 36px;
}

.line-height-42px {
    line-height: 42px;
}

.line-height-48px {
    line-height: 48px;
}

.font-weight-100 {
    font-weight: 100 !important;
}

.font-weight-200 {
    font-weight: 200 !important;
}

.font-weight-300 {
    font-weight: 300 !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.font-weight-700 {
    font-weight: 700 !important;
}

.font-weight-800 {
    font-weight: 800 !important;
}

.font-weight-900 {
    font-weight: 900 !important;
}

.opacity-10 {
    opacity: 0.10;
}

.opacity-20 {
    opacity: 0.20;
}

.opacity-30 {
    opacity: 0.30;
}

.opacity-40 {
    opacity: 0.40;
}

.opacity-50 {
    opacity: 0.50;
}

.opacity-60 {
    opacity: 0.60;
}

.opacity-70 {
    opacity: 0.70;
}

.opacity-80 {
    opacity: 0.80;
}

.opacity-90 {
    opacity: 0.90;
}

.bg-black {
    background-color: #000;
}

.bg-light-black {
    background-color: rgb(0,0,0,0.10);
}

.bg-dark-black {
    background-color: rgb(0,0,0,0.50);
}

.bg-light-white {
    background-color: rgb(255,255,255,0.10);
}

.bg-dark-white {
    background-color: rgb(255,255,255,0.50);
}

.m-n2 {
    margin: -0.5rem !important;
}

.mt-n2,
.my-n2 {
    margin-top: -0.5rem !important;
}

.mr-n2,
.mx-n2 {
    margin-right: -0.5rem !important;
}

.mb-n2,
.my-n2 {
    margin-bottom: -0.5rem !important;
}

.ml-n2,
.mx-n2 {
    margin-left: -0.5rem !important;
}

.m-n3 {
    margin: -1rem !important;
}

.mt-n3,
.my-n3 {
    margin-top: -1rem !important;
}

.mr-n3,
.mx-n3 {
    margin-right: -1rem !important;
}

.mb-n3,
.my-n3 {
    margin-bottom: -1rem !important;
}

.ml-n3,
.mx-n3 {
    margin-left: -1rem !important;
}

.m-n4 {
    margin: -1.5rem !important;
}

.mt-n4,
.my-n4 {
    margin-top: -1.5rem !important;
}

.mr-n4,
.mx-n4 {
    margin-right: -1.5rem !important;
}

.mb-n4,
.my-n4 {
    margin-bottom: -1.5rem !important;
}

.ml-n4,
.mx-n4 {
    margin-left: -1.5rem !important;
}

.m-n5 {
    margin: -3rem !important;
}

.mt-n5,
.my-n5 {
    margin-top: -3rem !important;
}

.mr-n5,
.mx-n5 {
    margin-right: -3rem !important;
}

.mb-n5,
.my-n5 {
    margin-bottom: -3rem !important;
}

.ml-n5,
.mx-n5 {
    margin-left: -3rem !important;
}

/* Page Sidebar */
.siderbar-wrapper {
    position: fixed;
    width: 280px;
    height: 100%;
    top: 0;
    left: 0px;
    z-index: 32;
    background: #001359;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.user-profile .dropdown-menu {
    display: block;
    min-width: 0 !important;
    width: 0;
    height: 0;
    opacity: 0;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

    .user-profile .dropdown-menu.show {
        width: 240px;
        height: 110px;
        opacity: 1;
    }

.page-sidebar .page-sidebar-wrapper ul li a .arrow {
    font-family: 'Line Awesome Free';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.page-sidebar .page-sidebar-wrapper > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .page-sidebar .page-sidebar-wrapper > ul > li {
        display: block;
        margin: 10px 1rem 0px;
        padding: 0;
        border: 0px;
    }

        .page-sidebar .page-sidebar-wrapper > ul > li > a {
            color: #e6e6ea;
            display: block;
            position: relative;
            margin: 0;
            border: 0px;
            padding: 12px 7px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 6px;
            white-space: nowrap;
        }

            .page-sidebar .page-sidebar-wrapper > ul > li > a > i {
                font-size: 24px;
                margin-right: 10px;
                text-shadow: none;
                color: #8897ce;
                font-weight: 200;
                max-width: 24px;
            }

        .page-sidebar .page-sidebar-wrapper > ul > li.open > a,
        .page-sidebar .page-sidebar-wrapper > ul > li.active > a {
            color: #ffffff;
        }

.page-sidebar .page-sidebar-wrapper ul li a:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
}

.page-sidebar .page-sidebar-wrapper > ul > li > a > .arrow:before {
    float: right;
    margin-top: 2px;
    margin-right: 7px;
    display: inline;
    font-size: 14px;
    height: auto;
    content: "\f105";
    font-weight: 900;
    text-shadow: none;
    transition: transform .3s cubic-bezier(.25,.8,.25,1), color 375ms cubic-bezier(.25,.8,.25,1);
}

.page-sidebar .page-sidebar-wrapper > ul > li > a > .arrow:before,
.page-sidebar .page-sidebar-wrapper > ul > li > a > .arrow.open:before {
    color: #919091 !important;
}

.page-sidebar .page-sidebar-wrapper > ul > li > a > .arrow.open:before {
    transform: rotate(90deg);
}

.page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu {
    list-style-type: none;
    clear: both;
    margin: 0px;
    padding: 0px 0px;
}

    .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li {
        list-style-type: none;
        background: none;
        margin: 0px;
        padding: 0px;
        margin-top: 1px !important;
    }

        .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li,
        .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li::marker {
            color: transparent;
        }

            .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li > a {
                display: block;
                border-radius: 6px;
                margin: 0 0 0 11px;
                padding: 10px 0px 10px 30px;
                color: #fff;
                text-decoration: none;
                text-shadow: none;
                font-size: 14px;
                font-weight: 500;
                background: none;
            }

                .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li > a:hover {
                    background: rgba(255,255,255,0.12);
                    color: #ffffff;
                }

            .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li.active > a {
                color: #85a1e3;
            }



    .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > a > .arrow:before {
        float: right;
        margin-top: 3px;
        margin-right: 18px;
        display: inline;
        font-size: 15px;
        height: auto;
        content: "\f067";
        font-weight: 900;
        text-shadow: none;
    }

    .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > a > .arrow.open:before,
    .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li.open > a > .arrow:before {
        float: right;
        margin-top: 3px;
        margin-right: 18px;
        display: inline;
        height: auto;
        font-size: 15px;
        content: "\f068";
        font-weight: 900;
        text-shadow: none;
    }

    .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > ul.sub-menu > li > a {
        display: block;
        padding: 8px 15px;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        border-radius: 6px;
        margin: 3px 0;
    }

        .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li > a.active,
        .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > ul.sub-menu > li > a.active {
            background: rgba(255,255,255,0.12);
            color: #ffffff;
        }


.page-sidebar .page-sidebar-wrapper > ul > li.mm-highlight > a,
.page-sidebar .page-sidebar-wrapper > ul > li > ul > li.mm-highlight > a {
    color: #6ab2ff;
}

.page-sidebar .page-sidebar-wrapper.scrollbar-menu {
    position: relative;
    padding: 0;
    margin: 0;
    height: calc(100vh - 170px) !important;
}


.metismenu .arrow {
    float: right;
    line-height: 1.42857;
}

.metismenu .fa.arrow:before {
    content: "";
}

.metismenu .mm-active > a > .fa.arrow:before {
    content: "";
}

.metismenu .mm-collapse:not(.mm-show) {
    display: none;
}

.metismenu .mm-collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition-timing-function: ease;
    transition-duration: .35s;
    transition-property: height,visibility
}

.metismenu .has-arrow {
    position: relative;
}

    .metismenu .has-arrow::after {
        position: absolute;
        content: "";
        width: .5em;
        height: .5em;
        border-width: 1px 0 0 1px;
        border-style: solid;
        border-color: initial;
        right: 1em;
        transform: rotate(-225deg) translate(0, -50%);
        transform-origin: top;
        top: 50%;
        transition: all .3s ease-out;
    }

    .metismenu .mm-active > .has-arrow::after, .metismenu .has-arrow[aria-expanded=true]::after {
        transform: rotate(-135deg) translate(0, -50%);
    }

#columnToggles {
    min-width: 14rem;
}

/* Page Sidebar Mini */
.siderbar-collapse-icon {
    position: absolute;
    background-color: #3a4673;
    border-radius: 100%;
    top: 17px;
    right: -12px;
    text-align: center;
    padding: 0;
    width: 24px;
    height: 24px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

    .siderbar-collapse-icon i {
        font-size: 20px;
    }

.siderbar-wrapper.mini .siderbar-collapse-icon {
    transform: rotate(180deg);
}

.siderbar-wrapper .d-mini-show {
    display: none;
}

.siderbar-wrapper.mini {
    width: 80px;
}

    .siderbar-wrapper.mini .siderbar-wrapper-inner,
    .siderbar-wrapper.mini .page-sidebar {
        background-color: #001359;
    }

    .siderbar-wrapper.mini .d-mini-none {
        display: none;
    }

    .siderbar-wrapper.mini .d-mini-show {
        display: block;
    }

.page-content.condensed {
    margin: 0px 0 0 80px;
}

    .page-content.condensed .header-top {
        margin: 0 0 0 80px;
        width: calc(100% - 80px);
    }

    .page-content.condensed .fixed-footer {
        width: calc(100% - 80px);
        left: 80px;
    }

.siderbar-wrapper.mini .user-profile > div {
    padding: 8px 8px !important;
    border-radius: 100% !important;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > a {
    justify-content: center;
}

    .siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > a > i {
        margin-right: 0px;
    }

    .siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > a.has-arrow::after {
        display: none;
    }

    .siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > a > span {
        display: none;
    }

    .siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > a:hover > span {
        display: block;
        position: fixed;
        left: 70px;
        padding: 5px 15px;
        background-color: #000;
        border-radius: 5px;
        font-size: 13px;
        z-index: 1;
        top: auto;
    }

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li.mm-active > a {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li.mm-highlight > a > i {
    color: #6ab2ff;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li > a {
    margin: 0;
    padding: 10px 15px 10px 15px;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > a > .arrow:before,
.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li > a > .arrow.open:before,
.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu li.open > a > .arrow:before {
    margin-right: 0;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu > li > ul {
    padding-left: 15px;
}

.siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu {
    position: fixed;
    z-index: -2;
    left: 80px;
    top: 0;
    background-color: #000e40;
    height: 100vh !important;
    padding: 15px !important;
    /*border-left: #0e298c solid 1px;*/
    width: 280px;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .siderbar-wrapper.mini .page-sidebar .page-sidebar-wrapper > ul > li > ul.sub-menu.mm-collapse:not(.mm-show) {
        left: -360px;
        display: block;
        opacity: 0;
    }

.siderbar-wrapper .btn-search-icon {
    position: relative;
    margin: 0;
    border: 0px;
    padding: 10.5px 12px;
    text-decoration: none;
    line-height: 15px;
    border-radius: 6px;
    white-space: nowrap;
}

    .siderbar-wrapper .btn-search-icon:hover,
    .siderbar-wrapper .btn-search-icon:active,
    .siderbar-wrapper .btn-search-icon:focus {
        background: rgba(255,255,255,0.12);
        color: #ffffff;
        outline: none;
        box-shadow: none;
    }

.siderbar-wrapper.mini .filter-blur {
    filter: initial;
}

.siderbar-wrapper.mini .search-section-outer {
    display: block;
    opacity: 1;
    position: fixed !important;
    top: 0;
    left: 80px;
    width: 280px;
    padding: 15px;
    height: 100vh;
    background-color: #f5f7fa;
    box-shadow: 5px 0 14px -4px #ccc;
    z-index: -1;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .siderbar-wrapper.mini .search-section-outer #search-page {
        background-color: #f5f7fa !important;
    }

        .siderbar-wrapper.mini .search-section-outer #search-page a {
            background-color: #f5f7fa;
        }

            .siderbar-wrapper.mini .search-section-outer #search-page a.bg-light-hover:hover {
                background-color: #edeff2;
            }

    .siderbar-wrapper.mini .search-section-outer:not(.search-section-outer-show) {
        left: -360px;
        display: block;
        opacity: 0;
    }

.siderbar-wrapper.mini input[type="text"].search {
    border-color: #ccc !important;
    color: #000 !important;
    background-color: #fff !important;
}

    .siderbar-wrapper.mini input[type="text"].search::placeholder {
        color: rgba(0, 0, 0, 0.5);
    }

.siderbar-wrapper.mini .search-section button {
    color: #777 !important;
}

.siderbar-wrapper.mini .search-section-outer #search-page {
    position: relative !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Page Content */
.page-content {
    margin: 0px 0 0 280px;
    padding: 57px 15px 0px;
    z-index: 0;
    /*-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;*/
}

.header-top {
    position: fixed;
    flex-wrap: nowrap;
    padding: 1rem 15px 1rem 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF;
    margin: 0 0 0 280px;
    top: 0;
    left: 0;
    right: 0;
    width: calc(100% - 280px);
    z-index: 31;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header-title {
    font-size: 20px;
    font-weight: 500;
    color: #000b33;
    text-transform: capitalize;
    margin: -2.5px 0;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    width: calc(100% - 280px);
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0px -1px 21px -3px rgba(0, 0, 0, 0.26);
    border-top: 1px solid #d7d7d7;
    border-radius: 0 0;
    z-index: 5;
    left: 280px;
    display: flex;
    justify-content: end;
    gap: 15px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.icon-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    z-index: 9;
}

.icon-loader .icon-loader-content {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #000;
  gap: 10px;
}

.icon-loader .ms-spin { display:inline-flex; align-items:center; justify-content:center; }

.icon-loader .ms-spin { 
  animation: ms-rotate 1s linear infinite;
  display:inline-block;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .icon-loader .ms-spin { animation: none; }
}

@keyframes ms-rotate { to { transform: rotate(360deg); } }

/* --- Common --- */
.avatar {
    font-size: 1rem;
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 3.5rem;
}

.avatar-md {
    font-size: 0.9rem;
    width: 2.75rem;
    height: 2.75rem;
}

.avatar-sm {
    font-size: 0.75rem;
    width: 2rem;
    height: 2rem;
}

.avatar .avatar-text {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
    background: #fff;
    font-weight: 600;
    color: #2f3858;
    border-radius: 50%;
}

    .avatar .avatar-text::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        background: rgba(196, 204, 231, 0.5);
    }

    .avatar .avatar-text .initial-wrap {
        display: table;
        width: 100%;
        height: 100%;
    }

        .avatar .avatar-text .initial-wrap > span {
            position: relative;
            display: table-cell;
            vertical-align: middle;
            text-align: center;
        }

            .avatar .avatar-text .initial-wrap > span > img {
                width: 100%;
                border: solid 1px #ccc;
                border-radius: 100%;
                height: auto;
            }

    .avatar .avatar-text.avatar-text-light:before {
        background: rgba(173, 179, 182, 0.5);
    }

    .avatar .avatar-text.avatar-text-light {
        color: #6f7a7f;
    }

.avatar-a .avatar-text::before {
    background-color: #f44336;
    opacity: 0.25;
}
/* Red */
.avatar-b .avatar-text::before {
    background-color: #e91e63;
    opacity: 0.25;
}
/* Pink */
.avatar-c .avatar-text::before {
    background-color: #9c27b0;
    opacity: 0.25;
}
/* Purple */
.avatar-d .avatar-text::before {
    background-color: #673ab7;
    opacity: 0.25;
}
/* Deep Purple */
.avatar-e .avatar-text::before {
    background-color: #3f51b5;
    opacity: 0.25;
}
/* Indigo */
.avatar-f .avatar-text::before {
    background-color: #2196f3;
    opacity: 0.25;
}
/* Blue */
.avatar-g .avatar-text::before {
    background-color: #03a9f4;
    opacity: 0.25;
}
/* Light Blue */
.avatar-h .avatar-text::before {
    background-color: #00bcd4;
    opacity: 0.25;
}
/* Cyan */
.avatar-i .avatar-text::before {
    background-color: #009688;
    opacity: 0.25;
}
/* Teal */
.avatar-j .avatar-text::before {
    background-color: #4caf50;
    opacity: 0.25;
}
/* Green */
.avatar-k .avatar-text::before {
    background-color: #8bc34a;
    opacity: 0.25;
}
/* Light Green */
.avatar-l .avatar-text::before {
    background-color: #cddc39;
    opacity: 0.25;
}
/* Lime */
.avatar-m .avatar-text::before {
    background-color: #ffeb3b;
    opacity: 0.25;
}
/* Yellow */
.avatar-n .avatar-text::before {
    background-color: #ffc107;
    opacity: 0.25;
}
/* Amber */
.avatar-o .avatar-text::before {
    background-color: #ff9800;
    opacity: 0.25;
}
/* Orange */
.avatar-p .avatar-text::before {
    background-color: #ff5722;
    opacity: 0.25;
}
/* Deep Orange */
.avatar-q .avatar-text::before {
    background-color: #795548;
    opacity: 0.25;
}
/* Brown */
.avatar-r .avatar-text::before {
    background-color: #9e9e9e;
    opacity: 0.25;
}
/* Grey */
.avatar-s .avatar-text::before {
    background-color: #607d8b;
    opacity: 0.25;
}
/* Blue Grey */
.avatar-t .avatar-text::before {
    background-color: #a1887f;
    opacity: 0.25;
}
/* Brownish Grey */
.avatar-u .avatar-text::before {
    background-color: #90a4ae;
    opacity: 0.25;
}
/* Light Blue Grey */
.avatar-v .avatar-text::before {
    background-color: #f06292;
    opacity: 0.25;
}
/* Pink */
.avatar-w .avatar-text::before {
    background-color: #ba68c8;
    opacity: 0.25;
}
/* Light Purple */
.avatar-x .avatar-text::before {
    background-color: #4db6ac;
    opacity: 0.25;
}
/* Teal Blue */
.avatar-y .avatar-text::before {
    background-color: #aed581;
    opacity: 0.25;
}
/* Light Green */
.avatar-z .avatar-text::before {
    background-color: #ff8a65;
    opacity: 0.25;
}
/* Coral */
.avatar-default .avatar-text::before {
    background-color: #bdbdbd;
}

/* --- Shared Components & Utilities --- */
.table > :not(caption) > * > * {
  padding: 0.75rem 0.75rem;
}

th {
  font-weight: 500;
  color: #000 !important;
  font-size: 12px;
  background-color: #fbfbfb !important;
}

.form-control{
    font-size: 14px;
    padding: 0.5rem 0.75rem;
}

.btn {
    font-size: 14px;
    font-weight: 400;
    gap:5px;
    --bs-btn-padding-y: 0.5rem;
}

.btn i,
.btn .material-symbols-outlined {
  font-size: 20px;
}

.form-group{
    margin-bottom: 15px;
}

.form-group >  label {
    margin-bottom: 5px;
    color: #666;
}

.btn-theme {
    background-color: #230464;
    border-color: #230464;
    color: #fff;
}

.btn-outline-theme {
    color: #230464;
    border-color: #230464;
    background-color: #fff;
}

.btn-theme:hover,
.btn-theme:active,
.btn-theme:focus,
.btn-outline-theme:hover,
.btn-outline-theme:active,
.btn-outline-theme:focus {
    background-color: #1a034d;
    border-color: #1a034d;
    color: #fff;
}

.error-message {
    color: var(--error-color);
    background-color: #ffebee;
    border: 1px solid var(--error-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* --- Main Analyzer Page (index.html) --- */
body.analyzer-page {
    overflow: hidden;
}

.app-container {
    display: flex;
    margin: 0 -15px;
}

.sidebar {
    flex: 0 0 380px;
    background: var(--container-bg);
    padding: 25px;
    border-right: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 57px);
    position: relative;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 57px);
    box-sizing: border-box;
}

.sidebar h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

#loader {
    display: none;
    text-align: center;
    padding: 20px 0;
    font-weight: 500;
    color: var(--primary-color);
}

.nav-link-container {
    text-align: center;
    margin-bottom: 20px;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: #f0f7ff;
    text-decoration: underline;
}

.match-rate-container {
    display: none;
    text-align: center;
    margin: 15px 0 25px 0;
}

.match-rate-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--green-accent) 0%, #e9ecef 0%);
    position: relative;
    transition: background 1s ease-out;
}

.match-rate-circle::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: var(--container-bg);
    border-radius: 50%;
}

#matchRateValue {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--green-accent);
    z-index: 1;
}

.match-rate-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.post-analysis-actions {
    padding-top: 20px;
    display: none;
}

#emailStatus {
    display: block;
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
}

#placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #95a5a6;
    text-align: center;
}

#placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #dce3e9;
}

#placeholder h2 {
    font-size: 1.8rem;
    color: #7f8c8d;
}

#analysis-wrapper {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.analysis-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 25px;
    flex-shrink: 0;
}

.tab {
    padding: 15px 20px;
    cursor: pointer;
    color: var(--light-text);
    font-weight: 500;
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: -2px;
}

#result-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 30px 30px 30px;
}

#result-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

#result-content ul {
    list-style-type: none;
    padding-left: 5px;
}

#result-content li {
    padding: 8px 0;
    line-height: 1.7;
    color: var(--text-color);
}

#result-content strong {
    color: var(--secondary-color);
}

#chat-container {
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
    padding: 15px;
    background-color: #fcfcfc;
}

#chat-history {
    height: 150px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
}

.chat-message {
    margin-bottom: 12px;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.5;
}

.chat-bubble.user {
    background-color: #e1f5fe;
}

.chat-bubble.assistant {
    background-color: #f1f3f5;
}

#chat-form {
    display: flex;
    gap: 10px;
}

/* --- Candidates Page (candidates.html) --- */
body.candidates-page {
    padding: 30px;
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.score {
    font-weight: 600;
}

.score-high { color: #2e7d32; }
.score-medium { color: #ed6c02; }
.score-low { color: #d32f2f; }

.no-candidates, #no-results {
    text-align: center;
    padding: 40px;
    color: var(--light-text);
}

.delete-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.2s;
}

.delete-btn:hover {
    color: var(--error-color);
}

.no-cv {
    color: var(--light-text);
    font-style: italic;
    font-size: 0.9rem;
}



/* --- NEW STYLES FOR EMAIL PREVIEW/EDIT TABS --- */

.email-editor-container {
    margin-top: 10px;
}

.editor-tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: -1px; /* Overlap the border with the panel */
}

.tab-btn {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    background-color: #f1f1f1;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
    color: var(--light-text);
    outline: none;
}

.tab-btn.active {
    background-color: #fff;
    border-color: #ccc;
    color: var(--primary-color);
    font-weight: 600;
}

.editor-panel {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    min-height: 250px;
    border-radius: 0 4px 4px 4px;
}

#emailBody {
    border: none;
    width: 100%;
    height: 250px;
    resize: vertical;
    outline: none;
    padding: 0;
    font-family: monospace; /* Better for editing HTML */
    font-size: 0.9rem;
}

#emailPreview {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* === STYLING FOR ARROW LISTS IN JOB DESCRIPTIONS === */

/* This targets any ul with the class "arrow-list" */
.arrow-list {
    list-style-type: none; /* Removes the default black dot */
    padding-left: 0;       /* Removes the default indentation */
    margin-top: 1rem;
}

/* This targets every list item inside our arrow-list */
.arrow-list li {
    padding-left: 1.5em;   /* Adds space for the arrow */
    text-indent: -1.5em;   /* Aligns the text correctly after the arrow */
    margin-bottom: 0.75rem;
}

/* This creates the arrow itself */
.arrow-list li::before {
    content: '→';                 /* The arrow character */
    color: var(--primary-color);  /* Use your theme's primary color */
    font-weight: bold;
    margin-right: 0.75em;         /* Space between the arrow and the text */
}