@font-face {
    font-family: "Regular";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Regular.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Light";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Light.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Medium";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Medium.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Bold";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Bold.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

:root {
    --mtn-yellow: #fad41a;
    --primary-color: #161c27;
    --mtn-black: #111216;
    --mtn-black-soft: #15161b;
    --mtn-grey-bg: #f5f5f7;
    --mtn-grey-soft: #e5e7eb;
    --mtn-grey-muted: #9ca3af;
    --mtn-border-soft: #e2e4ea;
    --mtn-success: #16a34a;
    --mtn-danger: #dc2626;
    --mtn-warning: #f97316;
    --montserratRegular: "Regular";
    --montserratMedium: "Medium";
    --montserratLight: "Light";
    --montserratBold: "Bold";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--montserratRegular);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.app-shell {
    display: flex;
    height: 100vh;
    overflow: hidden;
}
.auth-page {
    background-image: url("../../images/auth-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--montserratRegular);
}

.auth-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-logo {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-logo .sidebar-brand-text span {
    font-size: 22px;
}

.auth-logo .sidebar-brand-text span:last-child {
    color: var(--primary-color);
}

.auth-logo img {
    height: 40px;
    object-fit: contain;
}

.auth-header h1 {
    font-family: var(--montserratBold);
    font-size: 1.75rem;
    color: #111;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-family: var(--montserratRegular);
    font-size: 1rem;
    color: #000;
    margin-bottom: 3px;
}

.auth-form .input-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--mtn-grey-soft);
    border-radius: 12px;
    padding: 12px;
}

.auth-form .input-with-icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.auth-form .input-with-icon input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background-color: transparent;
}

.auth-form .input-with-icon input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(1, 77, 109, 0.05);
}

.auth-form .toggle-password {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.auth-form .form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.auth-form .forgot-link {
    font-size: 0.875rem;
    color: #ff0000;
    text-decoration: none;
    font-family: var(--montserratMedium);
}

.auth-form .btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--montserratBold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-form .btn-login:hover {
    background-color: #013d56;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 77, 109, 0.2);
}

.auth-form .btn-login:active {
    transform: translateY(0);
}

@media screen and (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}



/* ================= sidebar ==================== */

.sidebar {
    width: 19%;
    background-color: var(--primary-color);
    color: #f9fafb;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar::-webkit-scrollbar-thumb {
    display: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 10px;
    padding: 12px;
    margin: 0.5rem 0.5rem 2rem 0.5rem;
    background-color: #ffffff26;
}

.sidebar-logo {
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    height: 100%;
    width: 100%;
}

.sidebar-brand-text {
    display: flex;
    gap: 3px;
}

.sidebar-brand-text span:first-child {
    color: var(--mtn-yellow);
}

.sidebar-brand-text span {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-family: var(--montserratBold);
    color: rgba(249, 250, 251, 0.9);
}

.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-section-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(153, 153, 153, 1);
    padding: 10px 10px 4px;
    font-family: var(--montserratBold);
}

.nav-list {
    list-style: none;
    margin-top: 4px;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 7px;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    color: rgba(229, 231, 235, 0.9);
    text-decoration: none;
    transition: all 0.18s ease-out;
    font-size: 16px;
}

.nav-link>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link i {
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.nav-link .badge {
    background-color: var(--primary-color);
    padding: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nav-link:hover {
    background: rgba(249, 250, 251, 0.04);
    transform: translateX(2px);
}

.nav-link.active {
    background-color: var(--mtn-yellow);
    color: var(--primary-color);
}

.nav-link.active svg * {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.nav-link.active>div span {
    font-family: var(--montserratBold);
}

.nav-link.active i {
    color: #111827;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid rgba(249, 250, 251, 0.06);
    font-size: 11px;
    color: rgba(156, 163, 175, 0.9);
}

.sidebar-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sidebar-footer-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(249, 250, 251, 0.85);
}

.sidebar-footer-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #5eead4;
}

.sidebar-footer-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}



/* =============== Main area ================ */
.main {
    width: 81%;
    display: flex;
    flex-direction: column;
    /* overflow-y: scroll;
    height: 100vh; */
}

.main.viewer {
    width: 100%;
}

.main::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

.main::-webkit-scrollbar-thumb {
    background-color: var(--mtn-grey-muted);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    box-shadow: 10px 5px 30px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--montserratMedium);
    font-size: 28px;
}

.topbar-left span {
    font-family: var(--montserratMedium);
    font-size: 28px;
}

.topbar-right {
    display: flex;
    position: relative;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.topbar-right .image-section {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-right .image-section .image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
}

.topbar-right .image-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #000;
    border-radius: 50%;
}

.topbar-right .image-section .online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #f9fafb;
}

.topbar-right .name-section {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.2;
}

.topbar-right .name-section span:first-child {
    font-size: 20px;
    font-family: var(--montserratLight);
}

.topbar-right .name-section span:last-child {
    font-size: 13px;
    font-family: var(--montserratLight);
}

/* Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown .button {
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    text-decoration: none;
}

.profile-dropdown .button img {
    width: 20px;
    height: 20px;
}

.profile-dropdown .button.logout:hover {
    background: #f5f5f5;
    color: #dc3545;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 900;
}

@media screen and (max-width: 1024px) {
    .main {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .main {
        width: 100%;
    }

    .main::-webkit-scrollbar {
        display: none;
    }

    .main::-webkit-scrollbar-thumb {
        display: none;
    }

    .main-content {
        padding: 10px !important;
    }

    .topbar {
        padding: 20px 10px !important;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        right: 0;
        z-index: 1000;
        background-color: #0b0b0f;
        color: white;
        box-shadow: none;
        border-bottom: none;
    }

    .topbar-right {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu img {
        height: 40px;
    }

    .profile-dropdown button img {
        width: 20px;
        height: 20px;
    }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.close-sidebar {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: white;
}

@media screen and (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -300px;
        width: 300px;
        padding: 1rem;
        z-index: 1100;
        transition: left 0.3s ease;
        display: flex;
        /* Ensure it's flex even if display:none was set */
    }

    .sidebar.sidebar-open {
        left: 0;
        display: flex;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
    }

    .close-sidebar {
        display: block;
    }

    .sidebar-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0.5rem 0 2rem 0;
    }
}

@media screen and (max-width: 768px) {
    .topbar-left {
        font-size: 20px;
    }

    .topbar-left span {
        font-size: 20px;
    }
}

.main-content {
    background-image: url("../../images/background.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow-y: scroll;
    padding: 20px;
}

.main-content::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: var(--mtn-grey-muted);
}


/* -----------------transactions listings-------------------- */
.table-section-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-family: var(--montserratRegular);
}

.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mtn-grey-bg);
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    max-width: 420px;
}

.search-box svg {
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    width: 100%;
}

.search-box input::placeholder {
    color: var(--mtn-grey-muted);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-export {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-family: var(--montserratMedium);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-export:hover {
    opacity: 0.85;
}

.filter-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 13px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
}

.filter-group select {
    appearance: none;
    background: #ffffff;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-grey-muted);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.responsive-table {
    overflow-x: auto;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-family: var(--montserratBold);
    color: var(--mtn-grey-muted);
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table .th-content {
    display: flex;
    align-items: center;
    gap: 4px;
}

.data-table th:first-child {
    width: 40px;
}

.data-table tbody td {
    padding: 16px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black-soft);
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--mtn-grey-bg);
}

.data-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 50%;
    background: #ffffff;
    color: var(--mtn-grey-muted);
    font-size: 13px;
    font-family: var(--montserratMedium);
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--mtn-yellow);
    border-color: var(--mtn-yellow);
    color: var(--mtn-black);
    font-family: var(--montserratBold);
}

.page-btn.prev,
.page-btn.next {
    color: var(--mtn-grey-muted);
}

/* -------------user management----------------------- */
.page-header {
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-family: var(--montserratMedium);
    margin-bottom: 8px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb .sep {
    color: var(--mtn-grey-muted);
}

.breadcrumb span:last-child {
    color: var(--mtn-grey-muted);
}

.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 28px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    letter-spacing: 0.01em;
    margin: 0;
}

.btn-add-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mtn-yellow);
    color: var(--mtn-black);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-family: var(--montserratBold);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-add-user:hover {
    opacity: 0.85;
}

.table-section-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-family: var(--montserratRegular);
}

.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mtn-grey-bg);
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    max-width: 420px;
}

.search-box svg {
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    width: 100%;
}

.search-box input::placeholder {
    color: var(--mtn-grey-muted);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-grey-bg);
    border: 1px solid var(--mtn-border-soft);
    border-radius: 20px;
    padding: 8px 14px;
}

.filter-pill svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.filter-pill select {
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--montserratMedium);
    color: var(--primary-color);
    cursor: pointer;
    padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23014d6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.filter-pill select b {
    font-family: var(--montserratBold);
}

.btn-add-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-yellow);
    color: var(--mtn-black);
    border: none;
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 13px;
    font-family: var(--montserratBold);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-add-filter:hover {
    opacity: 0.85;
}

.responsive-table {
    overflow-x: auto;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 16px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black-soft);
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--mtn-grey-bg);
}

.status {
    font-size: 12px;
    font-family: var(--montserratBold);
    letter-spacing: 0.02em;
}

.status-active {
    color: var(--mtn-success);
}

.status-pending {
    color: var(--mtn-warning);
}

.status-suspended {
    color: var(--mtn-danger);
}

.action-cell {
    display: flex;
    gap: 8px;
}

.btn-edit,
.btn-view {
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: var(--montserratMedium);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-edit {
    background: var(--mtn-grey-soft);
    color: var(--mtn-black-soft);
}

.btn-view {
    background: var(--mtn-grey-bg);
    color: var(--primary-color);
}

.btn-edit:hover,
.btn-view:hover {
    opacity: 0.8;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 50%;
    background: #ffffff;
    color: var(--mtn-grey-muted);
    font-size: 13px;
    font-family: var(--montserratMedium);
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--mtn-yellow);
    border-color: var(--mtn-yellow);
    color: var(--mtn-black);
    font-family: var(--montserratBold);
}

.page-btn.prev,
.page-btn.next {
    color: var(--mtn-grey-muted);
}


/* ----------------activity logs------------- */
.page-header {
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-family: var(--montserratMedium);
    margin-bottom: 8px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb .sep {
    color: var(--mtn-grey-muted);
}

.breadcrumb span:last-child {
    color: var(--mtn-grey-muted);
}

.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 28px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    letter-spacing: 0.01em;
    margin: 0;
}

.table-section-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-family: var(--montserratRegular);
}

.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mtn-grey-bg);
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    max-width: 420px;
}

.search-box svg {
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    width: 100%;
}

.search-box input::placeholder {
    color: var(--mtn-grey-muted);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-grey-bg);
    border: 1px solid var(--mtn-border-soft);
    border-radius: 20px;
    padding: 8px 14px;
}

.filter-pill svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.filter-pill select {
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--montserratMedium);
    color: var(--primary-color);
    cursor: pointer;
    padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23014d6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.filter-pill select b {
    font-family: var(--montserratBold);
}

.responsive-table {
    overflow-x: auto;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 16px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black-soft);
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--mtn-grey-bg);
}

.log-action {
    display: inline-block;
    font-size: 12px;
    font-family: var(--montserratBold);
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: 6px;
}

.log-create {
    color: var(--mtn-success);
    background: rgba(22, 163, 74, 0.1);
}

.log-update {
    color: var(--primary-color);
    background: rgba(1, 77, 109, 0.08);
}

.log-delete {
    color: var(--mtn-danger);
    background: rgba(220, 38, 38, 0.1);
}

.log-login {
    color: var(--mtn-warning);
    background: rgba(249, 115, 22, 0.1);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 50%;
    background: #ffffff;
    color: var(--mtn-grey-muted);
    font-size: 13px;
    font-family: var(--montserratMedium);
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--mtn-yellow);
    border-color: var(--mtn-yellow);
    color: var(--mtn-black);
    font-family: var(--montserratBold);
}

.page-btn.prev,
.page-btn.next {
    color: var(--mtn-grey-muted);
}
/* ---------------create user modal--------------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 18, 22, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 780px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-box-topbar {
    height: 3px;
    background: var(--mtn-yellow);
}

.modal-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--mtn-border-soft);
}

.modal-box-header h3 {
    font-size: 18px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    margin: 0;
}

.btn-view-all {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-yellow);
    color: var(--mtn-black);
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--montserratBold);
    cursor: pointer;
}

.modal-box-body {
    padding: 24px;
}

.fields-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.field-group label {
    display: block;
    font-size: 13px;
    font-family: var(--montserratMedium);
    color: var(--mtn-black);
    margin-bottom: 8px;
}

.field-group .req {
    color: var(--mtn-danger);
}

.field-group input[type="text"],
.field-group input[type="email"] {
    width: 100%;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    outline: none;
}

.field-group input::placeholder {
    color: var(--mtn-grey-muted);
}

.field-group input:focus {
    border-color: var(--primary-color);
}

.field-group .select select {
    appearance: none;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-grey-muted);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field-group .select select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-icon,
.input-with-prefix {
    display: flex;
    align-items: center;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.input-with-icon:focus-within,
.input-with-prefix:focus-within {
    border-color: var(--primary-color);
}

.input-with-icon svg {
    color: var(--mtn-grey-muted);
    margin-left: 14px;
    flex-shrink: 0;
}

.input-with-prefix .prefix {
    padding: 10px 0 10px 14px;
    font-size: 14px;
    font-family: var(--montserratMedium);
    color: var(--mtn-black);
    white-space: nowrap;
}

.field-group .input-with-icon input[type="email"],
.field-group .input-with-icon input[type="text"],
.field-group .input-with-prefix input[type="email"],
.field-group .input-with-prefix input[type="text"] {
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    width: 100%;
    background: transparent;
}

.field-group .input-with-icon input:focus,
.field-group .input-with-prefix input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.input-with-icon input::placeholder,
.input-with-prefix input::placeholder {
    color: var(--mtn-grey-muted);
}

.modal-box-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--mtn-border-soft);
}

.btn-cancel {
    background: rgba(220, 38, 38, 0.08);
    color: var(--mtn-danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-family: var(--montserratMedium);
    cursor: pointer;
}

.btn-send-invite {
    background: var(--mtn-yellow);
    color: var(--mtn-black);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-family: var(--montserratBold);
    cursor: pointer;
}

.btn-cancel:hover,
.btn-send-invite:hover,
.btn-view-all:hover {
    opacity: 0.85;
}

@media (max-width: 640px) {
    .fields-grid-2col {
        grid-template-columns: 1fr;
    }
}


/* -------superadmin dashboard------------------ */

    /* ---------------- STAT CARDS ---------------- */
    .stat-cards-row {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        margin-bottom: 20px;
    }

    .stat-card {
        background: #ffffff;
        border: 1px solid var(--mtn-border-soft);
        border-radius: 12px;
        padding: 18px;
    }

    .stat-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .stat-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stat-icon-blue { background: rgba(1, 77, 109, 0.1); color: var(--primary-color); }
    .stat-icon-red { background: rgba(220, 38, 38, 0.1); color: var(--mtn-danger); }
    .stat-icon-green { background: rgba(22, 163, 74, 0.1); color: var(--mtn-success); }
    .stat-icon-yellow { background: rgba(255, 203, 5, 0.15); color: #B7791F; }

    .stat-tag {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        font-family: var(--montserratBold);
        padding: 4px 10px;
        border-radius: 20px;
    }

    .stat-tag i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        display: inline-block;
    }

    .stat-tag-blue { background: rgba(1, 77, 109, 0.08); color: var(--primary-color); }
    .stat-tag-blue i { background: var(--primary-color); }
    .stat-tag-red { background: rgba(220, 38, 38, 0.08); color: var(--mtn-danger); }
    .stat-tag-red i { background: var(--mtn-danger); }
    .stat-tag-green { background: rgba(22, 163, 74, 0.08); color: var(--mtn-success); }
    .stat-tag-green i { background: var(--mtn-success); }
    .stat-tag-yellow { background: rgba(255, 203, 5, 0.15); color: #B7791F; }
    .stat-tag-yellow i { background: #B7791F; }

    .stat-value {
        font-size: 26px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        margin-bottom: 4px;
    }

    .stat-value-red { color: var(--mtn-danger); }
    .stat-value-green { color: var(--mtn-success); }

    .stat-label {
        font-size: 13px;
        font-family: var(--montserratRegular);
        color: var(--mtn-grey-muted);
    }

    /* ---------------- FILTERS ---------------- */
    .dashboard-filters {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .filter-pill {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--mtn-yellow);
        border: none;
        border-radius: 20px;
        padding: 8px 14px;
    }

    .filter-pill svg {
        color: var(--mtn-black);
        flex-shrink: 0;
    }

    .filter-pill select {
        appearance: none;
        background: transparent;
        border: none;
        outline: none;
        font-size: 13px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        cursor: pointer;
        padding-right: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23111216' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right center;
    }

    .btn-add-filter {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--mtn-yellow);
        color: var(--mtn-black);
        border: none;
        border-radius: 20px;
        padding: 9px 16px;
        font-size: 13px;
        font-family: var(--montserratBold);
        cursor: pointer;
    }

    .btn-add-filter:hover {
        opacity: 0.85;
    }

    /* ---------------- CHARTS ---------------- */
    .charts-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .chart-card {
        background: #ffffff;
        border: 1px solid var(--mtn-border-soft);
        border-radius: 12px;
        padding: 22px;
    }

    .chart-card-dark {
        background: var(--mtn-black-soft);
        border: none;
    }

    .chart-title {
        font-size: 15px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        margin: 0 0 18px;
    }

    .chart-title-light {
        color: #ffffff;
    }

    .donut-chart-wrap {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .donut-chart-wrap canvas {
        max-width: 210px;
        max-height: 210px;
    }

    .donut-legend {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .donut-legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-family: var(--montserratRegular);
        color: var(--mtn-black);
    }

    .donut-legend-item .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .donut-legend-item b {
        font-family: var(--montserratBold);
        margin-left: 4px;
    }

    .bar-chart-wrap {
        background: #111216;
        border-radius: 8px;
        padding: 16px;
    }

    .bar-legend {
        display: flex;
        gap: 20px;
        margin-bottom: 14px;
    }

    .bar-legend span {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-family: var(--montserratMedium);
        color: #ffffff;
    }

    .dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        display: inline-block;
    }

    .dot-purple { background: #A855F7; }
    .dot-orange { background: #EA580C; }

    /* ---------------- BANK CONFIG TABLE ---------------- */
    .table-section-container {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        font-family: var(--montserratRegular);
    }

    .table-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .section-title {
        font-size: 18px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        margin: 0;
    }

    .btn-add-new {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--mtn-success);
        color: #ffffff;
        border: none;
        border-radius: 20px;
        padding: 10px 18px;
        font-size: 14px;
        font-family: var(--montserratBold);
        cursor: pointer;
    }

    .btn-add-new:hover {
        opacity: 0.9;
    }

    .responsive-table {
        overflow-x: auto;
        border: 1px solid var(--mtn-border-soft);
        border-radius: 8px;
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    .data-table thead th {
        text-align: left;
        padding: 14px 16px;
        font-size: 11px;
        font-family: var(--montserratBold);
        color: var(--mtn-grey-muted);
        letter-spacing: 0.03em;
        border-bottom: 1px solid var(--mtn-border-soft);
        white-space: nowrap;
    }

    .data-table tbody td {
        padding: 16px;
        font-family: var(--montserratRegular);
        color: var(--mtn-black-soft);
        border-bottom: 1px solid var(--mtn-border-soft);
        white-space: nowrap;
    }

    .data-table tbody tr:last-child td {
        border-bottom: none;
    }

    .data-table tbody tr:hover {
        background: var(--mtn-grey-bg);
    }

    .action-cell {
        display: flex;
        gap: 8px;
    }

    .btn-edit,
    .btn-delete {
        border: none;
        border-radius: 6px;
        padding: 6px 14px;
        font-size: 13px;
        font-family: var(--montserratMedium);
        cursor: pointer;
    }

    .btn-edit {
        background: var(--mtn-grey-soft);
        color: var(--mtn-black-soft);
    }

    .btn-delete {
        background: rgba(220, 38, 38, 0.1);
        color: var(--mtn-danger);
    }

    .btn-edit:hover,
    .btn-delete:hover {
        opacity: 0.8;
    }

    /* ---------------- MODALS (add/edit/view/delete) ---------------- */
    .modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(17, 18, 22, 0.5);
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .modal-overlay.open {
        display: flex;
    }

    .modal-box {
        background: #ffffff;
        width: 100%;
        max-width: 780px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .modal-box-topbar {
        height: 3px;
        background: var(--mtn-yellow);
    }

    .modal-box-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        border-bottom: 1px solid var(--mtn-border-soft);
    }

    .modal-box-header h3 {
        font-size: 18px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        margin: 0;
    }

    .modal-box-body {
        padding: 24px;
    }

    .fields-grid-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }

    .field-group label {
        display: block;
        font-size: 13px;
        font-family: var(--montserratMedium);
        color: var(--mtn-black);
        margin-bottom: 8px;
    }

    .field-group .req {
        color: var(--mtn-danger);
    }

    .field-group input[type="text"] {
        width: 100%;
        border: 1px solid var(--mtn-border-soft);
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 14px;
        font-family: var(--montserratRegular);
        color: var(--mtn-black);
        outline: none;
    }

    .field-group input::placeholder {
        color: var(--mtn-grey-muted);
    }

    .field-group input:focus {
        border-color: var(--primary-color);
    }

    .field-group .select select {
        appearance: none;
        width: 100%;
        background: #ffffff;
        border: 1px solid var(--mtn-border-soft);
        border-radius: 8px;
        padding: 10px 36px 10px 14px;
        font-size: 14px;
        font-family: var(--montserratRegular);
        color: var(--mtn-grey-muted);
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
    }

    .field-group .select select:focus {
        outline: none;
        border-color: var(--primary-color);
    }

    .modal-box-footer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        padding: 18px 24px;
        border-top: 1px solid var(--mtn-border-soft);
    }

    .btn-cancel {
        background: rgba(220, 38, 38, 0.08);
        color: var(--mtn-danger);
        border: 1px solid rgba(220, 38, 38, 0.2);
        border-radius: 8px;
        padding: 10px 20px;
        font-size: 14px;
        font-family: var(--montserratMedium);
        cursor: pointer;
    }

    .btn-send-invite {
        background: var(--mtn-yellow);
        color: var(--mtn-black);
        border: none;
        border-radius: 8px;
        padding: 10px 20px;
        font-size: 14px;
        font-family: var(--montserratBold);
        cursor: pointer;
    }

    .btn-cancel:hover,
    .btn-send-invite:hover {
        opacity: 0.85;
    }

    .view-grid {
        gap: 18px 24px;
    }

    .view-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .view-label {
        font-size: 12px;
        font-family: var(--montserratMedium);
        color: var(--mtn-grey-muted);
        letter-spacing: 0.02em;
    }

    .view-value {
        font-size: 14px;
        font-family: var(--montserratRegular);
        color: var(--mtn-black);
    }

    .confirm-box {
        background: #ffffff;
        width: 100%;
        max-width: 400px;
        border-radius: 10px;
        padding: 28px 24px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .confirm-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(220, 38, 38, 0.1);
        color: var(--mtn-danger);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
    }

    .confirm-box h3 {
        font-size: 17px;
        font-family: var(--montserratBold);
        color: var(--mtn-black);
        margin: 0 0 10px;
    }

    .confirm-box p {
        font-size: 14px;
        font-family: var(--montserratRegular);
        color: var(--mtn-grey-muted);
        line-height: 1.5;
        margin: 0 0 22px;
    }

    .confirm-box p strong {
        color: var(--mtn-black);
        font-family: var(--montserratMedium);
    }

    .confirm-actions {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .confirm-actions .btn-cancel,
    .confirm-actions .btn-danger-confirm {
        flex: 1;
        padding: 10px 0;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        border: none;
    }

    .btn-danger-confirm {
        background: var(--mtn-danger);
        color: #ffffff;
        font-family: var(--montserratBold);
    }

    .btn-danger-confirm:hover {
        opacity: 0.9;
    }

    @media (max-width: 1100px) {
        .stat-cards-row {
            grid-template-columns: repeat(2, 1fr);
        }
        .charts-row {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .stat-cards-row {
            grid-template-columns: 1fr;
        }
        .fields-grid-2col {
            grid-template-columns: 1fr;
        }
        .donut-chart-wrap {
            flex-direction: column;
        }
    }

    
/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}


/* ===== BANK CONFIGURATIONS SECTION (standalone) ===== */
.bc-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-family: var(--montserratRegular);
}

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

.bc-title {
    font-size: 20px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    margin: 0;
}

.bc-btn-add-new {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-success);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 14px;
    font-family: var(--montserratBold);
    cursor: pointer;
}

.bc-btn-add-new:hover {
    opacity: 0.9;
}

.bc-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.bc-filter-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-yellow);
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
}

.bc-filter-pill svg {
    color: var(--mtn-black);
    flex-shrink: 0;
}

.bc-filter-pill select {
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    cursor: pointer;
    padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23111216' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.bc-btn-add-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mtn-yellow);
    color: var(--mtn-black);
    border: none;
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 13px;
    font-family: var(--montserratBold);
    cursor: pointer;
}

.bc-btn-add-filter:hover {
    opacity: 0.85;
}

.bc-responsive-table {
    overflow-x: auto;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
}

.bc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bc-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-family: var(--montserratBold);
    color: var(--mtn-grey-muted);
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
    background: var(--mtn-grey-bg);
}

.bc-table tbody td {
    padding: 16px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black-soft);
    border-bottom: 1px solid var(--mtn-border-soft);
    white-space: nowrap;
}

.bc-table tbody tr:last-child td {
    border-bottom: none;
}

.bc-table tbody tr:hover {
    background: var(--mtn-grey-bg);
}

.bc-action-cell {
    display: flex;
    gap: 8px;
}

.bc-btn-view,
.bc-btn-edit,
.bc-btn-delete {
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: var(--montserratMedium);
    cursor: pointer;
}

.bc-btn-view {
    background: var(--mtn-grey-bg);
    color: var(--primary-color);
}

.bc-btn-edit {
    background: var(--mtn-grey-soft);
    color: var(--mtn-black-soft);
}

.bc-btn-delete {
    background: rgba(220, 38, 38, 0.1);
    color: var(--mtn-danger);
}

.bc-btn-view:hover,
.bc-btn-edit:hover,
.bc-btn-delete:hover {
    opacity: 0.8;
}

/* ===== MODALS ===== */
.bc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 18, 22, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.bc-modal-overlay.open {
    display: flex;
}

.bc-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    font-family: var(--montserratRegular);
}

.bc-modal-header {
    padding: 24px 28px 8px;
}

.bc-modal-header h3 {
    font-size: 19px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    margin: 0 0 6px;
}

.bc-modal-header p {
    font-size: 13px;
    font-family: var(--montserratRegular);
    color: var(--mtn-grey-muted);
    margin: 0;
}

.bc-modal-body {
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bc-field-group label {
    display: block;
    font-size: 13px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    margin-bottom: 8px;
}

.bc-field-group input[type="text"] {
    width: 100%;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    outline: none;
}

.bc-field-group input::placeholder {
    color: var(--mtn-grey-muted);
}

.bc-field-group input:focus {
    border-color: var(--primary-color);
}

.bc-select select {
    appearance: none;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--mtn-border-soft);
    border-radius: 8px;
    padding: 11px 36px 11px 14px;
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-black);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.bc-select select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.bc-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 28px 24px;
}

.bc-btn-cancel {
    background: #ffffff;
    color: var(--mtn-success);
    border: 1.5px solid var(--mtn-success);
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-family: var(--montserratMedium);
    cursor: pointer;
}

.bc-btn-cancel:hover {
    background: rgba(22, 163, 74, 0.06);
}

.bc-btn-save {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-family: var(--montserratBold);
    cursor: pointer;
}

.bc-btn-save:hover {
    opacity: 0.9;
}

/* ===== VIEW MODAL ===== */
.bc-view-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mtn-border-soft);
}

.bc-view-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bc-view-label {
    font-size: 12px;
    font-family: var(--montserratMedium);
    color: var(--mtn-grey-muted);
    letter-spacing: 0.02em;
}

.bc-view-value {
    font-size: 14px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
}

/* ===== DELETE CONFIRM MODAL ===== */
.bc-confirm-box {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: var(--montserratRegular);
}

.bc-confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    color: var(--mtn-danger);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.bc-confirm-box h3 {
    font-size: 17px;
    font-family: var(--montserratBold);
    color: var(--mtn-black);
    margin: 0 0 10px;
}

.bc-confirm-box p {
    font-size: 14px;
    font-family: var(--montserratRegular);
    color: var(--mtn-grey-muted);
    line-height: 1.5;
    margin: 0 0 22px;
}

.bc-confirm-box p strong {
    color: var(--mtn-black);
    font-family: var(--montserratMedium);
}

.bc-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bc-confirm-actions .bc-btn-cancel,
.bc-confirm-actions .bc-btn-danger {
    flex: 1;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.bc-btn-danger {
    background: var(--mtn-danger);
    color: #ffffff;
    border: none;
    font-family: var(--montserratBold);
}

.bc-btn-danger:hover {
    opacity: 0.9;
}

@media (max-width: 640px) {
    .bc-filters {
        flex-wrap: wrap;
    }
}
  

/* ------stepper button--------------- */
.btn-nav {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background-color: #e5e7eb;
    color: #4b5563;
}

.btn-prev:hover {
    background-color: #d1d5db;
}

.btn-next {
    background-color: var(--mtn-yellow);
    color: #111216;
    font-weight: 700;
}

.btn-next:hover {
    background-color: #e0bb10;
    color: #111216;
}


/* -----------stepper--------------- */
/* =========================================================
   RECONCILIATION STEPPER
========================================================= */

.reconciliation-stepper {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;

    margin: 30px 0 40px;
    padding: 0 20px;
}


/* =========================================================
   STEP
========================================================= */

.reconciliation-step {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


/* =========================================================
   LARGE NUMBER CIRCLE
========================================================= */

.step-circle {
    width: 58px;
    height: 58px;
    min-width: 58px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--mtn-grey-soft);
    border: 3px solid var(--mtn-grey-soft);

    color: var(--mtn-grey-muted);

    font-family: var(--montserratBold);
    font-size: 20px;

    transition: all .25s ease;
}


.step-circle span {
    line-height: 1;
}


/* =========================================================
   STEP TEXT
========================================================= */

.step-info {
    display: flex;
    flex-direction: column;

    gap: 3px;

    white-space: nowrap;
}


.step-number {
    font-family: var(--montserratMedium);

    font-size: 10px;

    letter-spacing: .7px;

    color: var(--mtn-grey-muted);
}


.step-title {
    font-family: var(--montserratBold);

    font-size: 15px;

    color: var(--primary-color);
}


/* =========================================================
   CONNECTING LINE
========================================================= */

.step-line {
    flex: 1;

    height: 3px;

    min-width: 55px;
    max-width: 150px;

    margin: 27px 18px 0;

    background: var(--mtn-grey-soft);

    border-radius: 10px;

    transition: background .25s ease;
}


/* =========================================================
   ACTIVE STEP
========================================================= */

.reconciliation-step.active .step-circle {

    background: var(--mtn-yellow);

    border-color: var(--mtn-yellow);

    color: var(--mtn-black);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .08);
}


.reconciliation-step.active .step-number {
    color: var(--primary-color);
}


.reconciliation-step.active .step-title {
    color: var(--primary-color);
}


/* =========================================================
   COMPLETED STEP
========================================================= */

.reconciliation-step.completed .step-circle {

    background: var(--mtn-success);

    border-color: var(--mtn-success);

    color: #fff;
}


.reconciliation-step.completed .step-number {
    color: var(--mtn-success);
}


.step-line.completed {
    background: var(--mtn-success);
}


/* =========================================================
   STEP 3 LOADING
========================================================= */

.reconciliation-step.loading .step-circle {

    background: var(--mtn-warning);

    border-color: var(--mtn-warning);

    color: #fff;
}


.reconciliation-step.loading .step-circle span {
    display: none;
}


.reconciliation-step.loading .step-circle::after {

    content: "";

    width: 21px;
    height: 21px;

    border: 3px solid rgba(255, 255, 255, .4);

    border-top-color: #fff;

    border-radius: 50%;

    animation:
        reconciliation-loader
        .8s linear infinite;
}


@keyframes reconciliation-loader {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   STEP 4 RESULT STATES
========================================================= */

.reconciliation-step.aligned .step-circle {

    background: var(--mtn-success);

    border-color: var(--mtn-success);

    color: #fff;
}


.reconciliation-step.not-aligned .step-circle {

    background: var(--mtn-danger);

    border-color: var(--mtn-danger);

    color: #fff;
}


.reconciliation-step.not-aligned .step-title {

    color: var(--mtn-danger);
}


/* =========================================================
   UPLOAD ZONE
========================================================= */

.reconciliation-upload-zone {

    min-height: 180px;

    border: 2px dashed var(--mtn-grey-muted);

    border-radius: 8px;

    background: var(--mtn-grey-bg);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    text-align: center;

    cursor: pointer;

    position: relative;

    transition: all .2s ease;
}


.reconciliation-upload-zone:hover {

    border-color: var(--mtn-yellow);

}


.reconciliation-upload-zone input {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}


.upload-icon {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--mtn-yellow);

    color: var(--mtn-black);

    font-size: 20px;
}


.reconciliation-upload-zone strong {

    font-family: var(--montserratBold);

    color: var(--primary-color);
}


.reconciliation-upload-zone > span {

    font-family: var(--montserratRegular);

    font-size: 12px;

    color: var(--mtn-grey-muted);
}


.reconciliation-upload-zone.has-file {

    border-color: var(--mtn-success);
}


/* =========================================================
   VALIDATION
========================================================= */

.reconciliation-validation {

    margin-top: 20px;
}


.validation-title {

    font-family: var(--montserratBold);

    font-size: 13px;

    color: var(--primary-color);

    margin-bottom: 10px;
}


.validation-message {

    padding: 10px 12px;

    border-radius: 6px;

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    font-family: var(--montserratRegular);

    font-size: 12px;
}


.validation-message.danger {

    background: rgba(220, 38, 38, .08);

    border: 1px solid var(--mtn-danger);

    color: var(--mtn-danger);
}


.validation-message.warning {

    background: rgba(249, 115, 22, .08);

    border: 1px solid var(--mtn-warning);

    color: var(--mtn-warning);
}


/* =========================================================
   PROCESSING / STEP 3
========================================================= */

.reconciliation-processing {

    min-height: 400px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.processing-loader {

    width: 60px;
    height: 60px;

    border-radius: 50%;

    border: 5px solid var(--mtn-grey-soft);

    border-top-color: var(--mtn-yellow);

    animation:
        reconciliation-loader
        .8s linear infinite;

    margin-bottom: 25px;
}


.reconciliation-processing h3 {

    font-family: var(--montserratBold);

    color: var(--primary-color);

    margin-bottom: 8px;
}


.reconciliation-processing p {

    max-width: 500px;

    font-family: var(--montserratRegular);

    color: var(--mtn-grey-muted);

    font-size: 13px;
}


/* =========================================================
   RESULT HEADER
========================================================= */

.reconciliation-result-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.reconciliation-result-header h3 {

    margin: 0 0 5px;

    font-family: var(--montserratBold);

    color: var(--primary-color);
}


.reconciliation-result-header span {

    font-family: var(--montserratRegular);

    font-size: 13px;

    color: var(--mtn-grey-muted);
}


.result-status {

    padding: 7px 14px;

    border-radius: 20px;

    background: var(--mtn-grey-soft);

    font-family: var(--montserratBold) !important;

    color: var(--primary-color) !important;
}


.result-status.aligned {

    background: rgba(22, 163, 74, .12);

    color: var(--mtn-success) !important;
}


.result-status.not-aligned {

    background: rgba(220, 38, 38, .12);

    color: var(--mtn-danger) !important;
}


/* =========================================================
   RESULT SUMMARY
========================================================= */

.result-summary-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}


.result-summary-box {

    padding: 14px;

    border: 1px solid var(--mtn-border-soft);

    border-radius: 7px;

    background: #fff;
}


.result-summary-box span {

    display: block;

    font-family: var(--montserratRegular);

    font-size: 11px;

    color: var(--mtn-grey-muted);

    margin-bottom: 5px;
}


.result-summary-box strong {

    font-family: var(--montserratBold);

    font-size: 17px;

    color: var(--primary-color);
}


.result-summary-box.matched {

    background: rgba(22, 163, 74, .06);

    border-color: var(--mtn-success);
}


.result-summary-box.matched strong {

    color: var(--mtn-success);
}


.result-summary-box.missing {

    background: rgba(220, 38, 38, .06);

    border-color: var(--mtn-danger);
}


.result-summary-box.missing strong {

    color: var(--mtn-danger);
}


/* =========================================================
   RESULT SECTIONS
========================================================= */

.result-section {

    margin-bottom: 20px;
}


.result-section-title {

    font-family: var(--montserratBold);

    font-size: 12px;

    color: var(--primary-color);

    margin-bottom: 8px;
}


.missing-list {

    border: 1px solid var(--mtn-border-soft);

    border-radius: 6px;

    overflow: hidden;

    background: var(--mtn-grey-bg);
}


.missing-transaction {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 12px;

    font-family: var(--montserratRegular);

    font-size: 12px;

    border-bottom: 1px solid var(--mtn-border-soft);
}


.missing-transaction:last-child {

    border-bottom: 0;
}


.missing-transaction strong {

    font-family: var(--montserratMedium);

    color: var(--primary-color);
}


/* =========================================================
   RESULT ACTIONS
========================================================= */

.result-actions {

    display: flex;

    gap: 10px;

    margin-top: 25px;
}


.reconciliation-primary-btn,
.reconciliation-secondary-btn,
.reconciliation-next-btn {

    border: 0;

    border-radius: 5px;

    min-height: 42px;

    padding: 0 22px;

    font-family: var(--montserratBold);

    cursor: pointer;

    transition: all .2s ease;
}


.reconciliation-next-btn,
.reconciliation-primary-btn {

    background: var(--mtn-yellow);

    color: var(--mtn-black);
}


.reconciliation-secondary-btn {

    background: var(--mtn-grey-soft);

    color: var(--primary-color);
}


.reconciliation-primary-btn:hover,
.reconciliation-next-btn:hover {

    opacity: .9;

}


.result-note {

    margin-top: 12px;

    font-family: var(--montserratRegular);

    font-size: 11px;

    color: var(--mtn-grey-muted);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .reconciliation-stepper {

        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 10px;
    }


    .step-line {

        min-width: 30px;

        margin-left: 10px;

        margin-right: 10px;
    }


    .result-summary-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .step-info {

        display: none;
    }


    .step-circle {

        width: 52px;

        height: 52px;

        min-width: 52px;
    }


    .step-line {

        min-width: 25px;

        margin-left: 7px;

        margin-right: 7px;
    }


    .result-summary-grid {

        grid-template-columns: 1fr;
    }


    .result-actions {

        flex-direction: column;
    }


    .reconciliation-primary-btn,
    .reconciliation-secondary-btn {

        width: 100%;
    }

}