@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

:root {
    --primary-1: #0F4A98;
    --secondary-2: #FB803D;
    --black: #010101;
    --white: #ffffff;
    --light-primary: #F3F8FF;
    --success-state: #198754;
    --danger-state: #DC3545;
    --warn-state: #F1BC35;
    --info-state: #17A2B8;
    --gray-2: #343434;
    --gray-3: #676767;
    --gray-4: #999999;
    --gray-5: #B3B3B3;
    --gray-6: #CCCCCC;
    --gray-7: #E6E6E6;
    --gray-8: #F0F0F0;
    --primary-hover: #0c3e80;
}


/* Custom */
.gray-2 {
    color: var(--gray-2);
}

.gray-3 {
    color: var(--gray-3);
}

.gray-4 {
    color: var(--gray-4);
}

.mt-32 {
    margin-top: 2rem;
}

.mb-3-cstm {
    margin-bottom: 1rem;
}

.prim-text {
    color: var(--primary-1);
}

.secondary-text {
    color: var(--secondary-2);
}

.cr-pt {
    cursor: pointer;
}

.text-sm {
    font-size: 0.9rem;
}

.bg-light-grey {
    background-color: var(--gray-8);
}

.bg-light-blue {
    background-color: var(--light-primary);
}

.mr-40 {
    margin-right: 40px;
}

/* Login CSS */
.login-bg {
    background: linear-gradient(138deg, #163761 5.97%, #2D71C7 76.38%);
    padding: 2.35rem;
}

.login-div {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 3rem 3rem 3rem 1rem;
}

.login-details {
    width: 510px;
}

.login-left {
    display: flex;
    justify-content: center;
}

.login-h2 {
    font-size: 42px;
}

.login-right {
    background: url('../img/login-content.png') no-repeat;
    border-radius: 15px;
    padding: 4rem;
}

.btn-prim {
    background: var(--primary-1);
    color: var(--white);
}

.btn-prim:hover {
    background: var(--primary-hover, var(--primary-1));
    opacity: 0.88;
}

.btn-custom {
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 0.375rem;
}

.btn-cancel {
    background: var(--gray-6);
}

.login-bg .form-control,
.captcha-div {
    border: 1px solid var(--gray-4);
}

.login-bg .form-label {
    font-weight: 500;
}

.login-btm {
    margin-top: 2rem;
    text-align: center;
}

.login-bg .login-details .form-control {
    background-repeat: no-repeat;
    background-position: 98%;
    height: 50px;
}

.login-bg #referenceid {
    background-image: url('../icons/ID.svg');
}

.login-bg #dobfield {
    background-image: url('../icons/Dob.svg');
}

.login-bg #ssnumber {
    background-image: url('../icons/ssn.svg');
}

.login-bg #fname {
    background-image: url('../icons/name.svg');
}

.login-bg .btn-custom {
    height: 50px;
}

.login-title,
.text-highlight {
    font-family: "Gill Sans MT";
    font-size: 30px;
    width: 596px;
    margin: 0 auto;
}

.text-highlight {
    color: #FFA14E;
}

.login-bg input[type="date"]::-webkit-inner-spin-button {
    opacity: 0;
}

.login-bg input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.captcha-div {
    padding: 1rem;
    border-radius: 6px;
    width: 100%;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-1);
}

.refresh-icon {
    background-color: #e5f2ff;
    padding: 12px;
    margin-left: 11px;
    text-align: center;
    border-radius: 6px;
}

.verify-btn {
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-1);
    border: 1px solid var(--gray-5);
    margin: 2.5rem 0;
    box-shadow: 0 2px 8px 0 rgba(136, 136, 136, 0.1);
}

.verify-btn.active {
    border: 1px solid var(--primary-1);
}

.login-bg .nav-tabs .nav-link.active {
    color: var(--primary-1);
    margin-bottom: 0;
    border-bottom: 2px solid var(--primary-1);
    font-weight: 500;
}

.login-bg .nav-tabs .nav-link {
    border: none;
    color: var(--gray-3);
    width: 50%;
}

/* Carousel */
.login-bg .owl-carousel .owl-item img {
    width: inherit;
    margin: 0 auto;
}

.login-bg .slider-1 {
    position: absolute;
    top: 32%;
    left: 55%;
}

.login-bg .slider-2 {
    top: 66%;
    right: 0;
}

.login-bg .slider-3 {
    bottom: 0;
    right: 56%;
}

.owl-carousel {
    width: 100%;
    max-width: 800px;
}

.item {
    text-align: center;
}

.login-bg .owl-dot.active span {
    width: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background-color: var(--white);
}

.login-bg .owl-theme .owl-dots .owl-dot span {
    margin: 0;
}

.login-bg .owl-nav.disabled+.owl-dots {
    text-align: center;
    margin-top: 36px;
}

.owl-dot {
    display: inline-block;
    margin: 0 5px;
}


/* --- Consumer Portal ---- */


/* Sidebar */
.sidebar {
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    width: 290px;
    background-color: var(--white);
    transition: margin-left 0.3s;
    padding: 0.3rem 0.6rem;
    z-index: 9;
    display: flex;
    flex-direction: column;
}

.sidebar_ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Scrolls independently within whatever space is left above the
       pinned Logout footer, instead of overflowing past the viewport and
       under it. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar_ul_footer {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    margin-top: 8px;
}

.sidebar_ul .nav-link.active {
    background-color: var(--primary-1);
    color: var(--white);
    padding: 8px 10px;
    border-radius: 6px;
}

.sidebar_ul .nav-link.active::before {
    content: "";
    height: 40px;
    background: var(--primary-1);
    width: 5px;
    display: block;
    position: absolute;
    left: 0;
    border-radius: 5px;
}

.sidebar-btm {
    /* No longer position:fixed — it now sits naturally at the bottom of
       .sidebar_ul_footer (a flex child of .sidebar), so it can't overlap
       the scrollable nav list above it on short screens. */
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.divider {
    width: 6px;
    height: 10px;
    background-color: var(--primary-1);
    border-radius: 6px;
}

.sidebar_ul li a {
    font-weight: 500;
    color: var(--gray-2);
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.98rem;
}

.sidebar_ul {
    margin-top: 2rem;
}

.sidebar.hidden {
    margin-left: -290px;
}

.main-content {
    margin-left: 290px;
    transition: margin-left 0.3s;
    position: relative;
}

.main-content.expanded {
    margin-left: 0;
}

.main-container {
    padding: 20px 28px;
    margin-bottom: 78px;
}

a.navbar-brand {
    display: block;
    width: 184px;
    margin-top: 8px;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#toggle-sm,
.searchbar,
.child-row {
    display: none;
}

.cstm-global-select {
    width: 270px;
    padding: 8px 13px 8px 38px;
    border-radius: 24px;
    border: 1px solid var(--gray-6);
    margin-left: 40px;
}

.search_icon {
    position: absolute;
    left: 17%;
    top: 18%;
}

div#toggleSidebar {
    position: absolute;
    left: -8px;
    z-index: 99;
}


.cstm-main-content .breadcrumb-item {
    font-size: 14px;
    font-weight: 500;
}

.cstm-main-content .cstm-title {
    color: var(--black);
    font-size: 1.25rem;
}

.cstm-status div {
    color: #343434;
    font-size: 14px;
}

.cstm-status span {
    display: flex;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--success-state);
    font-size: 14px;
    background: rgba(25, 135, 84, 0.10);
}

.overview-card {
    border-radius: 15px;
    padding: 30px 40px;
    background: linear-gradient(180deg, #FFF 0%, #E2EEFF 100%);
    box-shadow: 0 2px 8px 0 rgba(17, 17, 17, 0.10);
    height: 100%;
}

.overview-details {
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: -webkit-fill-available;
}

.vector-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.cstm-input {
    border-radius: 6px;
    border: 1px solid var(--gray-4);
    padding: 12px 15px;
}

.cstm-input.active {
    background-color: var(--light-primary);
    border: 1px solid var(--primary-1);
    box-shadow: 0 2px 6px 0 rgba(15, 74, 152, 0.10);
}

.balance-container {
    position: relative;
}

.overview-balance {
    font-size: 26px;
    font-weight: 600;
}

#show-balance-btn,
.outline-btn {
    border-radius: 6px;
    border: 1px solid var(--primary-1);
    font-size: 14px;
    background-color: transparent;
    color: var(--primary-1);
    font-weight: 500;
    padding: 7px 11px;
}

#balance-amount {
    font-size: 1.625rem;
    font-weight: 600;
}

/* --- Footer ---- */
.footer-div {
    text-align: center;
    background-color: var(--white);
    padding: 1rem;
    width: 100%;
    font-weight: 500;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    z-index: 99;
}

.content-card {
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 2px 8px 0 rgba(17, 17, 17, 0.10);
    padding: 30px;
    height: 100%;
}

/* Dashboard - Consumer portal Graphs */
canvas#paymentChart,
.chart-container #progressChart {
    padding: 24px 0;
}

.stacked-chart {
    height: 300px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-container canvas#balanceChart {
    width: 240px;
    height: 240px;
}

.chart-container canvas#debtChart {
    width: 200px;
    height: 200px;
}

#paymentProgressChart {
    width: 100%;
}

.color-box {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 10px;
}

.percentage {
    font-size: 1.625rem;
    font-weight: 600;
}

.principal {
    background-color: var(--primary-1);
}

.interest {
    background-color: var(--secondary-2);
}

.fees {
    background-color: #FFBC98;
}

.total-bal {
    background-color: var(--light-primary);
    border-radius: 6px;
    padding: 6px 8px;
}

.active-status {
    border-radius: 6px;
    background: rgba(25, 135, 84, 0.10);
    color: var(--success-state);
    padding: 7px 12px;
    font-weight: 500;
}

.account-highlights {
    border-radius: 15px;
    border: 1px solid var(--primary-1);
    background: var(--light-primary);
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recent-payment-table th {
    background-color: var(--light-primary);
    color: var(--gray-2);
    font-weight: 600;
}

.badge-bg {
    border-radius: 30px;
    border: 1px solid var(--success-state);
    background: rgba(25, 135, 84, 0.10);
    font-size: 0.875rem;
    padding: 4px 10px;
    display: inline-block;
}

/* Settings */

.setting-navs .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.setting-navs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.setting-navs .nav-tabs .nav-link.active {
    background-color: var(--white);
    color: var(--primary-1);
    border-color: transparent;
    border-bottom: 4px solid var(--primary-1);
}

.setting-navs .nav-tabs .nav-link {
    color: var(--gray-4);
    font-weight: 500;
    padding: 0.6rem 0.2rem;
    margin-right: 0.8rem;
}

.setting-navs .nav-tabs .nav-link.active:hover {
    border-bottom: 4px solid var(--primary-1);
}

.setting-navs .nav-tabs .nav-link:hover {
    border-color: transparent;
}

.setting-navs .nav-tabs {
    background-color: var(--white);
    border: none;
    padding: 0 1.8rem;
    border-radius: 6px;
}

.ps-navs .nav-tabs {
    border: none;
}

/* Sidebar submenu__item menu */
.submenu__item::marker {
    font-size: 20px;
    color: var(--gray-3);
}

.submenu .submenu__item {
    list-style-type: disc;
}

.sidebar .dropdown-wrapper {
    width: 100%;
}

.sidebar .dropdown-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    padding: 8px 10px;
    font-size: 0.98rem;
    color: var(--gray-2);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.dropdown-wrapper.open .chevron-icon {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    padding-top: 5px;
}

.sidebar .dropdown-wrapper.open .submenu {
    display: block;
}

.submenu__item .nav-link {
    font-size: 0.92rem;
    color: var(--gray-3);
}

.submenu__item.active .nav-link,
.submenu__item.active::marker {
    color: var(--primary-1);
}

.balance-show {
    background: var(--light-primary);
    border: 1px solid var(--primary-1);
}

.delete-icon {
    position: absolute;
    left: 70%;
    top: 2%;
}

.image-container {
    height: 180px;
    width: 180px;
    position: relative;
    margin: 0 auto;
}

.profile-img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.btn_upload {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    padding: 6px 14px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.btn_upload,
.method-selected {
    border-radius: 6px;
    border: 1px solid var(--primary-1);
    background-color: var(--light-primary);
    color: var(--primary-1);
    font-weight: 500;
}

.btn_upload input {
    cursor: pointer;
    position: absolute;
    opacity: 0;
}

.method-selected {
    padding: 10px;
    margin-right: 10px;
}

.payment-details {
    border-radius: 15px;
    background-color: var(--light-primary);
    border: 1px solid var(--primary-1);
    padding: 20px;
    margin: 2rem 0;
}

.history-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.year-field {
    color: var(--gray-3);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Modal Styling */
.modal-container .modal-content {
    border-radius: 0.9375rem;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    border: none;
}

.paid-details {
    background-color: var(--light-primary);
    border-radius: 0.375rem;
    padding: 1.25rem;
}

.status-active,
.status-warning,
.status-danger,
.status-primary,
.status-secondary,
.status-info,
.status-paid {
    border-radius: 1.75rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    display: inline-block;
}

.status-active {
    border: 1px solid var(--success-state);
    background: rgba(25, 135, 84, 0.10);
    color: var(--success-state);
}

.status-info {
    border: 1px solid var(--info-state);
    background: rgba(23, 162, 184, 0.10);
    color: var(--info-state);
}

.status-warning {
    border: 1px solid #ad7400;
    background: rgba(255, 206, 84, 0.1);
    color: #ad7400;
}

.status-secondary {
    border: 1px solid var(--secondary-2);
    background-color: #ffebe0;
    color: var(--secondary-2);
}

.status-primary {
    border: 1px solid var(--primary-1);
    background: rgba(15, 74, 152, 0.10);
    color: var(--primary-1);
}

.status-danger {
    border: 1px solid var(--danger-state);
    background: rgba(220, 53, 69, 0.10);
    color: var(--danger-state);
}

.status-paid {
    border: 1px solid #8A38F5;
    background: #F9F5FE;
    color: #8A38F5;
}

.set-default {
    border: 1px solid var(--primary-1);
    border-width: 1px 1px 1px 4px;
}

.text-yellow {
    color: #BC8700;
}



.manage-payment-row .btn-custom {
    padding: 7px 11px;
}

.info-grid,
.paid-details .payment-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.payment-info div:nth-child(1) {
    color: var(--gray-2);
    font-size: 0.875rem;
}

.form-control,
.form-select {
    border: 1px solid var(--gray-6);
}

.filter-section {
    padding: 1rem 1.25rem;
    border-radius: 0.375rem;
    border: 1px solid var(--gray-7);
    background: var(--light-primary);
}

.text-blue {
    color: #0186b6;
}

.text-purple {
    color: #8A38F5;
}

.form-check-input:checked {
    background-color: var(--primary-1);
    border-color: var(--primary-1);
}

.form-switch .form-check-input:checked {
    border: 1px solid var(--primary-1);
}

.form-switch .form-check-input {
    width: 2.8rem;
    height: 1.6rem;
}

.contact-info-grid {
    display: flex;
    flex-wrap: nowrap;
    border: 0;
    align-items: flex-start;
    margin-bottom: 2rem;
}


/* ---- Client Portal  ----- */
.client-portal {
    --primary-1: #022142;
    --secondary-2: #C99228;
    --primary-hover: #002955;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--gray-6);
    padding: 0.4539rem 0.6875rem;
}

.h-40px {
    height: 40px;
}

.cstm-checkbox .form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 1px solid var(--primary-1);
}


table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover {
    outline: none;
    background-color: #e3f2ff;
    outline-offset: -2px;
}

.toggle_chevron {
    filter: brightness(0.5);
}

.security-info {
    display: flex;
    justify-content: space-between;
}

.form-switch .form-check-input {
    border: 1px solid var(--gray-4);
}

.system-img {
    width: 110px;
    height: 68px;
    border-radius: 6px;
}

.system-theme.active img {
    border: 1px solid var(--primary-1);
}

.system-theme.active {
    color: var(--primary-1);
}

.saved_color {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
}

.color_primary {
    background-color: var(--primary-1);
    border: 3px solid var(--white);
}

.color_secondary {
    background-color: var(--secondary-2);
}

.color_black {
    background-color: var(--black);
}

.color_gray {
    background-color: var(--gray-8);
}

.color_selection.active .saved_color {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

#color_picker_input {
    width: 120px;
    height: 44px;
    background-color: var(--gray-7);
}

/* Client Access Login */
.client_left_col {
    background: linear-gradient(0deg, rgba(2, 33, 66, 0.85) 0%, rgba(2, 33, 66, 0.85) 100%), url('../img/Client-access-bg.png') lightgray 50% / cover no-repeat;
    color: var(--white);
    height: 100vh;
    display: grid;
    place-items: end;
    text-align: center;
}

.login-wrapper {
    height: 100vh;
}

.client_login_title h4 {
    font-size: 3.5rem;
}

.client_login_title p {
    font-size: 1.25rem;
}

.client_subtitle {
    font-size: 1.875rem;
}

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


/* Stepper */
.md-stepper-horizontal {
    display: table;
    width: 100%;
    margin: 0 auto;
    padding: 0 16rem;
}

.md-stepper-horizontal .md-step {
    display: table-cell;
    position: relative;
    padding: 24px 24px 16px;
}

.md-stepper-horizontal .md-step:active {
    border-radius: 15% / 75%;
}

.md-stepper-horizontal .md-step:first-child:active {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.md-stepper-horizontal .md-step:last-child:active {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.md-stepper-horizontal .md-step .md-step-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background-color: var(--gray-6);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: 600;
    color: var(--gray-2);
    display: flex;
    justify-content: center;
}

.md-stepper-horizontal .md-step:first-child .md-step-bar-left,
.md-stepper-horizontal .md-step:last-child .md-step-bar-right {
    display: none;
}

.md-stepper-horizontal.orange .md-step.active .md-step-circle {
    background-color: var(--primary-1);
    color: var(--white);
}

.md-stepper-horizontal .md-step .md-step-title {
    margin-top: 12px;
    font-weight: 500;
}

.md-stepper-horizontal .md-step .md-step-title,
.md-stepper-horizontal .md-step .md-step-optional {
    text-align: center;
    color: var(--gray-5);
}

.md-stepper-horizontal .md-step.active .md-step-title {
    color: var(--gray-2);
}

.md-stepper-horizontal .md-step .md-step-optional {
    font-size: 12px;
}

.md-stepper-horizontal .md-step.active .md-step-optional {
    color: var(--gray-4);
}

.md-stepper-horizontal .md-step .md-step-bar-left,
.md-stepper-horizontal .md-step .md-step-bar-right {
    position: absolute;
    top: 48px;
    height: 1px;
    border-top: 1px solid var(--gray-6);
}

.md-stepper-horizontal .md-step .md-step-bar-right {
    right: 0;
    left: 50%;
    margin-left: 30px;
}

.md-stepper-horizontal .md-step .md-step-bar-left {
    left: 0;
    right: 50%;
    margin-right: 30px;
}

#step-2,
#step-3 {
    display: none;
}

.progress-container {
    width: 180px;
    background-color: var(--gray-7);
    border-radius: 25px;
    height: 12px;
    overflow: hidden;
}


.progress-bar {
    width: 33.33%;
    height: 100%;
    background-color: var(--primary-1);
    transition: width 0.4s ease-in-out;
}

.progress-text {
    font-size: 0.9rem;
    margin-top: 8px;
    color: var(--gray-2);
}

.footer-sm {
    color: var(--white);
    text-align: center;
    margin-top: 4.2rem;
    font-size: 0.9rem;
    display: none;
}

span.dt-column-title {
    font-weight: 600;
}

.header-icon {
    border-radius: 24px;
    background: var(--light-primary);
    box-shadow: 2px 2px 4px 0 rgba(17, 17, 17, 0.10);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.debtor-accordion .accordion-button {
    background-color: var(--gray-8);
    color: var(--primary-1);
    font-weight: 600;
}

.debtor-accordion .accordion-item,
.debtor-accordion .accordion-button {
    border-radius: 10px;
}

.fs-18-medium {
    font-size: 1.125rem;
    font-weight: 500;
}

.debtor-phone {
    border-right: 2px solid var(--secondary-2);
    padding-right: 40px;
    margin-right: 40px;
}

tr .td-footer {
    font-weight: 600;
    background: rgba(241, 188, 53, 0.12);
}

.debtor-accordion td.secondary-text {
    color: var(--secondary-2);
}

.total_balance {
    border-radius: 0.375rem;
    background: rgba(255, 193, 7, 0.20);
    padding: 0.75rem;
    font-weight: 600;
    color: var(--black);
}

.client-portal .overview-card {
    background: var(--white);
}

.closed {
    background-color: #E0B258;
}

.new {
    background-color: #007899;
}

.track-background {
    width: 90%;
    height: 10px;
    background-color: #d4e7ff;
    border-radius: 20px;
}

.fill-indicator {
    width: 65%;
    height: 100%;
    background: var(--primary-1);
    border-radius: 20px;
}

.completion-text {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--gray-3);
    font-weight: 500;
}

/* Account Inventory  */
.parent-row {
    cursor: pointer;
    user-select: none;
    background-color: var(--gray-6);
}

.child-row.expanded {
    display: table-row;
}

.debtor-link {
    color: #0F4A98;
    font-weight: 500;
}

.inventory-table-wrapper .recent-payment-table th {
    background-color: var(--light-primary);
}

.chevron-toggle {
    cursor: pointer;
    color: var(--gray-2);
    transition: transform 0.2s;
}

.chevron-toggle.expanded {
    transform: rotate(180deg);
}

.client-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--gray-8);
    border-radius: 6px;
}

.client-header-container:hover {
    background: var(--gray-7);
}

.client-info-group {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: sans-serif;
}

.client-name {
    font-weight: 600;
    color: var(--primary-1);
}

.badge-pill {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: var(--white);
}

.count-badge {
    color: var(--success-state);
}

.amount-badge {
    color: var(--primary-1);
}

.child-row td:nth-child(1) {
    border-left: 1px solid var(--gray-7);
}

.child-row td:last-child {
    border-right: 1px solid var(--gray-7);
}


/* Toggle Switch */
.switch-wrapper {
    background: var(--gray-8);
    border-radius: 50px;
    display: flex;
    position: relative;
    padding: 4px;
    width: 200px;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.25) inset;
    margin-right: 1rem;
}

.switch-item {
    flex: 1;
    z-index: 2;
}

.switch-label {
    display: block;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    color: var(--gray-3);
    font-weight: 500;
    transition: color 0.3s;
}

/* The background pill that moves */
.switch-selection {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--white);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Functional Logic */
.switch-wrapper input[type="radio"] {
    display: none;
}

#client-btn:checked~.switch-selection {
    transform: translateX(100%);
}

#consumer-btn:checked~.switch-item-1 .switch-label,
#client-btn:checked~.switch-item-2 .switch-label {
    color: var(--primary-1);
}

.branding-tabs .nav-tabs .nav-link.active {
    color: var(--white);
    background-color: var(--primary-1);
}

.sort-select {
    width: 220px;
    padding: 6px 12px;
    border-radius: 24px;
    border: 1px solid var(--gray-6);
}

.client-portal .submenu__item.active {
    background-color: var(--light-primary);
    border-radius: 4px;
}

/* ── Trust Statements ── */
.document-section .setting-navs .nav-tabs {
    padding: 0 1rem;
    border-bottom: 1px solid var(--gray-7);
}

.view-icon, .download-icon {
    background-color: var(--light-primary);
    display: flex;
    width: 38px;
    height: 38px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    cursor: pointer;
}

.docu-content {
    border-bottom: 1px solid var(--gray-7);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── Terms of Use ── */
.step-ellipse {
    background: var(--primary-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
}

.guide-steps {
    display: flex;
    margin-top: 1rem;
}
