:root {
    --js-bg: #EDEDED;
    --js-header-bg: #2b2b2b;
    --js-primary: #008374;
    --js-primary-soft: #0aa790;
    --js-primary-dark: #026655;
    --js-secondary-dark: #313131;
    --js-accent: #F6B925;
    --js-card-bg: #ffffff;
    --js-chip-bg: #f9fafb;
    --js-border: #dddddd;
    --js-border-soft: #e5e7eb;
    --js-text-main: #1f2937;
    --js-text-muted: #6b7280;
    --yellow: #f6bb26;
    --teal-light: #026655;

    /* px ? em converted */
    --radius-lg: 1em;
    /* 16px */
    --radius-md: 0.875em;
    /* 14px */
    --radius-pill: 62.4375em;
    /* 999px */

    --shadow-soft: 0 0.125em 0.375em rgba(15, 23, 42, .05);
    --shadow-hover: 0 0.625em 1.5625em rgba(15, 23, 42, .16);

    --font-main: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    --ui-scaling: 0.8333vw;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

#topLoader {
    position: fixed;
    top: 0;
    left: 0;
    height: 0.4em;
    width: 0%;
    background: var(--yellow);
    z-index: 999999;
    transition: width 0.4s ease;
}

.custom-scale-wrapper {
    font-size: var(--ui-scaling);
    width: 100%;
}

@media (max-width: 1000px) {
    .custom-scale-wrapper {
        font-size: 10px;
    }
}

@media (min-width: 7680px) {
    .custom-scale-wrapper {
        font-size: 64px;
    }
}

.ico {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.ico {
    font-size: 1em;
    line-height: 1;
}


html,
body {
    height: 100%;
    overflow-x: hidden;
}


body {
    font-family: var(--font-main);
    background: var(--js-bg);
    color: var(--js-text-main);
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit
}

/* ========== biiling ========== */
/* =========================================================
    SIDE NAVIGATION (Balanced Scaling)
    ========================================================= */
.side-nav {
    position: fixed;
    left: 0;
    top: 4em;
    height: calc(100vh - 4em);
    width: 5em;
    background: white;
    box-shadow: 0.125em 0 0.625em rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 0.5em 0;
    z-index: 999;
}

.nav-item-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2em 0.5em;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 0.2em solid transparent;
    text-decoration: none;
    color: #6b7280;
}

.nav-item-side:hover {
    background: #f9fafb;
    color: #008374;
}

.nav-item-side.active {
    color: #008374;
    border-left-color: #008374;
    background: #e6f7f5;
}

.nav-icon {
    font-size: 1.8em;
    margin-bottom: 0.4em;
}

.nav-label {
    font-size: 0.75em;
    /* Slightly bumped for readability */
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* =========================================================
    TOP TABS (Balanced Scaling)
    ========================================================= */
.top-tabs {
    display: block;
    background: white;
    border-bottom: 0.125em solid #f3f4f6;
    overflow-x: auto;
    scrollbar-width: none;
}

.top-tabs-container {
    display: flex;
    padding: 0 1.5em;
    gap: 1em;
    justify-content: center;
    min-width: min-content;
    max-width: 100%;
    margin: 0 6.5em;
}

.top-tab {
    padding: 1em 1.5em;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 0.2em solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.item-label {
    font-size: 1.2em;
}

.top-tab:hover {
    color: #374151;
    background: #f9fafb;
}

.top-tab.active {
    color: #008374;
    border-bottom-color: #008374;
}

.top-tab .nav-icon {
    font-size: 1.3em;
    margin-bottom: 0;
}

/* =========================================================
    CONTENT WRAPPERS
    ========================================================= */
.content-wrapper {
    margin-left: 0em;
    transition: margin-left 0.3s;
}

.content-area {
    padding: 2.5em 14em;
}

body:not(.billing-data-ready) #billingMain > :not(.js-page-skeleton) {
    display: none !important;
}

.billing-page-load-skeleton {
    display: none;
    padding: 2.5em 14em;
}

body:not(.billing-data-ready) .billing-page-load-skeleton {
    display: block !important;
}

body.billing-data-ready .billing-page-load-skeleton {
    display: none !important;
}

.billing-skel-line,
.billing-skel-balance,
.billing-skel-summary-card,
.billing-skel-panel,
.billing-skel-panel-head span,
.billing-skel-panel-head strong,
.billing-skel-row > span,
.billing-skel-row strong,
.billing-skel-row em,
.billing-skel-row b,
.billing-skel-summary-card span,
.billing-skel-summary-card strong,
.billing-skel-summary-card em {
    overflow: hidden;
    background: linear-gradient(90deg, #dfe9e6 0%, #eef5f3 42%, #dfe9e6 78%);
    background-size: 240% 100%;
    animation: billingSkeletonShimmer 1.25s ease-in-out infinite;
}

.billing-skel-balance {
    position: relative;
    min-height: 11.7em;
    border: 1px solid #cfe0dc;
    border-radius: 1em;
    box-shadow: 0 .6em 1.4em rgba(15, 23, 42, .12);
    margin-bottom: 1.5em;
    padding: 2em;
}

.billing-skel-line {
    display: block;
    border-radius: 999px;
}

.billing-skel-label {
    width: 10em;
    height: 1.2em;
    margin-bottom: 1em;
}

.billing-skel-amount {
    width: min(17em, 72%);
    height: 3.4em;
}

.billing-skel-date {
    position: absolute;
    right: 2em;
    top: 2em;
    width: 10em;
    height: 2.4em;
}

.billing-skel-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25em;
    margin-bottom: 2em;
}

.billing-skel-summary-card {
    min-height: 9.4em;
    border: 1px solid #cfe0dc;
    border-radius: 1em;
    padding: 1.8em;
}

.billing-skel-summary-card span,
.billing-skel-summary-card strong,
.billing-skel-summary-card em {
    display: block;
    border-radius: 999px;
}

.billing-skel-summary-card span {
    width: 2.8em;
    height: 2.8em;
    margin-bottom: 1em;
}

.billing-skel-summary-card strong {
    width: 8em;
    height: 1.1em;
    margin-bottom: .85em;
}

.billing-skel-summary-card em {
    width: 11em;
    height: 1.75em;
}

.billing-skel-panel {
    border: 1px solid #d6e4e1;
    border-radius: 1em;
    padding: 1.6em;
    background-color: #fff;
}

.billing-skel-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 1.1em;
}

.billing-skel-panel-head span,
.billing-skel-panel-head strong {
    display: block;
    border-radius: 999px;
}

.billing-skel-panel-head span {
    width: 13em;
    height: 1.45em;
}

.billing-skel-panel-head strong {
    width: 8em;
    height: 2.4em;
}

.billing-skel-row {
    display: grid;
    grid-template-columns: 3.2em 1fr 7em;
    align-items: center;
    gap: 1em;
    padding: 1em 0;
    border-top: 1px solid #edf3f1;
}

.billing-skel-row > span,
.billing-skel-row strong,
.billing-skel-row em,
.billing-skel-row b {
    display: block;
    border-radius: 999px;
}

.billing-skel-row > span {
    width: 3.2em;
    height: 3.2em;
}

.billing-skel-row strong {
    width: min(18em, 84%);
    height: 1.05em;
    margin-bottom: .55em;
}

.billing-skel-row em {
    width: min(12em, 70%);
    height: .9em;
}

.billing-skel-row b {
    width: 7em;
    height: 1.4em;
}

@keyframes billingSkeletonShimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -120% 0;
    }
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
/* =========================================================
    BALANCE & SUMMARY CARDS
    ========================================================= */
.balance-card {
   background: linear-gradient(135deg, var(--js-primary-dark), var(--js-primary-soft));
    border-color: transparent;
    box-shadow: 0 0.6em 1.8em rgba(0, 0, 0, .25);
    position: relative;
    border-radius: 1em;
    padding: 2em;
    color: #fff;
    margin-bottom: 1.5em;
}

.balance-label {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.balance-amount {
    font-size: 3.25em;
    font-weight: 700;
}

.balance-date {
    font-size: 1.1em;
    font-weight: 700;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.3em;
    position: absolute;
    right: 3em;
    top: 1.8em;
}
.date-icon{
    margin-right: 0.1em;
    background-color: var(--js-secondary-dark);
    width: 2.2em;
    height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1em solid var(--js-accent);
    border-radius: 10em;
}
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17em, 1fr));
    gap: 1.25em;
    margin-bottom: 2em;
}

.summary-card {
    padding: 1.8em;
    border-radius: 1em;
    color: white;
    box-shadow: 0 0.2em 0.6em rgba(0, 0, 0, 0.1);
    position: relative;
}

.summary-card.green {
    background: #008374;
}

.summary-card.red {
    background: #dc3545;
}

.summary-card.gray {
    background: #f3f4f6;
    color: #333;
}

/* Slightly lightened gray */
.summary-label {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.summary-value {
    font-size: 2.2em;
    font-weight: 700;
}
.summary-card-icon{
    width: 2.2em;
    height: 2.2em;
    border-radius: 5.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    background: var(--js-chip-bg);
    background: #e6f7f5;
    color: var(--js-primary-dark);
    position: absolute;
    right: 1em;
    top: 1em;
}
.summary-card.red .summary-card-icon{
   background-color: #fff;
}
.summary-card.gray .summary-card-icon{
   background-color: var(--js-primary-dark);
   color: var(--js-chip-bg);
} 
/* =========================================================
    TRANSACTIONS
    ========================================================= */
.transaction-container {
    background: white;
    border-radius: 1em;
    box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section-header {
    background: #313131;
    color: white;
    padding: 1em 1.5em;
    font-size: 1.25em;
    font-weight: 700;
}

.transaction-container:not(.loading) .section-header span::after {
    display: none !important;
}

.transaction-list {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.action-button{
    padding: 1em 2em;
}
.transaction-card {
    background: #f8f9fa;
    border-radius: 0.75em;
    padding: 1.5em;
    border-left: 0.25em solid #008374;
    transition: transform 0.2s, box-shadow 0.2s;
}

.transaction-card:hover {
    transform: translateY(-0.15em);
    box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.1);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.transaction-type {
    font-size: 1.3em;
    font-weight: 600;
    color: #313131;
    margin-bottom: 0.3em;
}

.transaction-id {
    font-size: 1em;
    color: #6b7280;
}

.transaction-amount {
    font-size: 1.5em;
    font-weight: 800;
}
.transaction-date{
    font-size: 1em;
    margin-bottom: 0.5em;
}
.amount-credit {
    color: #008374;
}

.amount-debit {
    color: #dc3545;
}

.status-badge {
    padding: 0.4em 1em;
    border-radius: 1.25em;
    font-size: 0.8em;
    font-weight: 600;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    padding: 1.5em;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}
.btn {
    padding: 1em 2em;
    border: none;
    border-radius: 3em;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    cursor: pointer;
    transition: 0.16s;
    white-space: nowrap;
    box-shadow: 0 0.625em 1.375em rgba(15, 23, 42, .22);
}

.btn-primary {
    background: var(--teal-light);
    color: #fff;
    box-shadow: 0 0.25em 1em rgba(38, 95, 92, 0.3);
}

        .btn-primary { background: #008374; color: white; }
        .btn-primary:hover { background: #00695e; }
        .btn-secondary { background: #f6b925; color: #333; }
        .btn-secondary:hover { background: #e5a818; }

.billing-empty {
    padding: 2em;
    color: var(--js-text-muted);
    font-size: 1.1em;
}

.billing-diagnostics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    gap: 0.75em;
    padding: 1.25em;
}

.billing-diagnostics div {
    border: 0.0625em solid #e5e7eb;
    border-radius: 0.5em;
    padding: 0.85em;
    background: #fff;
}

.billing-diagnostics span {
    display: block;
    color: var(--js-text-muted);
    font-size: 0.85em;
    margin-bottom: 0.25em;
}

.billing-diagnostics strong {
    color: var(--js-text);
    font-size: 1em;
    word-break: break-word;
}

.billing-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1.5em;
}

.billing-row {
    background: #f8f9fa;
    border-left: 0.25em solid var(--js-primary);
    border-radius: 0.75em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 1.25em 1.5em;
}

.billing-row strong {
    display: block;
    color: var(--js-text-main);
    font-size: 1.1em;
}

.billing-row span {
    color: var(--js-text-muted);
}

.billing-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.05em;
    min-width: 15em;
}

.billing-small-btn {
    min-width: 8.25em;
    min-height: 3.05em;
    padding: 0.75em 1.35em;
    border: 0;
    border-radius: 999em;
    background: var(--js-primary) !important;
    color: #fff !important;
    font-size: 0.92em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 0.5em 1.1em rgba(0, 131, 116, 0.24);
}

.billing-small-btn i,
.billing-small-btn span {
    color: #fff !important;
    line-height: 1;
}

.billing-small-btn i {
    font-size: 1.08em;
}

.billing-form {
    display: flex;
    flex-direction: column;
    gap: 1.4em;
    padding: 1.5em;
}

.billing-field {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.billing-field label {
    color: var(--js-text-main);
    font-size: 1.05em;
    font-weight: 800;
}

.billing-field input[type="number"],
.billing-field input[type="text"] {
    border: 0.1em solid #dde5ef;
    border-radius: 0.8em;
    font: inherit;
    outline: none;
    padding: 1em 1.1em;
    width: 100%;
}

.billing-money-input {
    display: flex;
    overflow: hidden;
    border: 0.1em solid #dde5ef;
    border-radius: 0.8em;
    background: #fff;
}

.billing-money-input span {
    align-items: center;
    background: #f3f4f6;
    color: var(--js-text-main);
    display: flex;
    font-weight: 800;
    padding: 0 1.1em;
}

.billing-money-input input {
    border: 0 !important;
    border-radius: 0 !important;
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
    gap: 1em;
}

.gateway-card {
    align-items: center;
    background: #f8f9fa;
    border: 0.1em solid #d8e6e2;
    border-radius: 0.8em;
    cursor: pointer;
    display: flex;
    gap: 0.8em;
    min-height: 5.2em;
    padding: 1em;
}

.gateway-card:has(input:checked) {
    border-color: var(--js-primary);
    box-shadow: 0 0 0 0.18em rgba(0, 131, 116, 0.12);
}

.gateway-card input {
    accent-color: var(--js-primary);
}

.gateway-card img {
    max-height: 2.5em;
    max-width: 6em;
    object-fit: contain;
}

.gateway-placeholder {
    align-items: center;
    background: var(--js-primary);
    border-radius: 0.6em;
    color: white;
    display: inline-flex;
    height: 2.5em;
    justify-content: center;
    width: 2.5em;
}

.bank-panel,
.billing-fees,
.pending-summary {
    background: #f8fbfa;
    border: 0.1em solid #d8e6e2;
    border-radius: 0.8em;
    display: grid;
    gap: 0.8em;
    padding: 1em;
}

.bank-panel div,
.billing-fees div,
.pending-summary div {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.bank-panel span,
.billing-fees span,
.pending-summary span {
    color: var(--js-text-muted);
}

.bank-panel strong,
.billing-fees strong,
.pending-summary strong {
    color: var(--js-text-main);
}

.billing-fees small {
    color: var(--js-text-muted);
}

.billing-message {
    border-radius: 0.8em;
    font-weight: 700;
    padding: 1em;
}

.billing-message.info {
    background: #eef7ff;
    color: #24527a;
}

.billing-message.success {
    background: #d4edda;
    color: #155724;
}

.billing-message.error {
    background: #f8d7da;
    color: #721c24;
}

.billing-otp-form {
    border-top: 0.1em solid #e5e7eb;
    margin-top: -0.5em;
    padding-top: 0;
}

.billing-range-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    justify-content: space-between;
    padding: 1.1em 1.4em 0.2em;
}

.billing-range-select {
    align-items: center;
    background: #ffffff;
    border: 0.1em solid #d8e6e2;
    border-radius: 0.35em;
    color: var(--js-text-main);
    display: inline-flex;
    min-width: min(100%, 22em);
}

.billing-range-select i {
    color: var(--js-primary);
    font-size: 1.1em;
    padding-left: 0.8em;
}

.billing-range-select select {
    appearance: auto;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    flex: 1;
    font: inherit;
    min-height: 2.4em;
    outline: 0;
    padding: 0 0.8em;
}

.billing-range-label {
    color: var(--js-text-muted);
    font-size: 0.95em;
}

.billing-custom-range {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    padding: 0.8em 1.4em 0.2em;
    position: relative;
}

.billing-date-chip {
    align-items: center;
    background: #ffffff;
    border: 0.1em solid #d8e6e2;
    border-radius: 0.4em;
    color: var(--js-text-main);
    cursor: pointer;
    display: inline-flex;
    gap: 0.55em;
    min-height: 2.5em;
    padding: 0 0.9em;
}

.billing-date-chip i {
    color: var(--js-primary);
}

.billing-date-chip.active,
.billing-date-chip:hover {
    border-color: var(--js-primary);
    box-shadow: 0 0 0 0.18em rgba(0, 131, 116, 0.1);
}

.billing-calendar-popover {
    background: #ffffff;
    border: 0.1em solid #e5ecea;
    border-radius: 0.8em;
    box-shadow: 0 1.25em 2.5em rgba(15, 23, 42, 0.16);
    left: 1.4em;
    max-width: calc(100vw - 3em);
    padding: 1em;
    position: absolute;
    top: 3.9em;
    width: 19.5em;
    z-index: 50;
}

.billing-calendar-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8em;
}

.billing-calendar-head strong {
    color: var(--js-text-main);
    font-size: 1em;
    text-transform: capitalize;
}

.billing-calendar-nav {
    align-items: center;
    background: #ffffff;
    border: 0.1em solid #d8e6e2;
    border-radius: 50%;
    color: var(--js-text-main);
    cursor: pointer;
    display: inline-flex;
    height: 2em;
    justify-content: center;
    width: 2em;
}

.billing-calendar-nav:hover {
    border-color: var(--js-primary);
    color: var(--js-primary);
}

.billing-calendar-weekdays,
.billing-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.billing-calendar-weekdays {
    color: var(--js-text-muted);
    font-size: 0.75em;
    font-weight: 800;
    gap: 0.3em;
    margin-bottom: 0.45em;
    text-transform: uppercase;
}

.billing-calendar-grid {
    gap: 0.25em;
}

.billing-calendar-day {
    align-items: center;
    background: transparent;
    border: 0.1em solid transparent;
    border-radius: 50%;
    color: var(--js-text-main);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    height: 2.3em;
    justify-content: center;
    width: 2.3em;
}

.billing-calendar-day.muted {
    color: #9ca3af;
}

.billing-calendar-day.today {
    border-color: var(--js-primary);
}

.billing-calendar-day.selected,
.billing-calendar-day:hover {
    background: var(--js-primary);
    color: #ffffff;
}

.billing-calendar-actions {
    align-items: center;
    border-top: 0.1em solid #edf2f1;
    display: flex;
    justify-content: space-between;
    margin-top: 0.8em;
    padding-top: 0.85em;
}

.billing-calendar-actions button {
    background: transparent;
    border: 0;
    color: var(--js-primary);
    cursor: pointer;
    font-weight: 800;
}

.billing-range-apply {
    align-items: center;
    background: var(--js-primary) !important;
    border-color: var(--js-primary) !important;
    color: #ffffff !important;
    display: inline-flex;
    gap: 0.4em;
    justify-content: center;
    min-height: 2.5em;
    min-width: 9em;
}

.billing-range-apply:disabled {
    background: var(--js-primary) !important;
    border-color: var(--js-primary) !important;
    color: #ffffff !important;
    cursor: wait;
    opacity: 1;
    pointer-events: none;
}

.billing-range-apply span,
.billing-range-apply i {
    color: inherit !important;
    display: inline-flex;
}

.billing-range-apply .ri-loader-4-line {
    animation: billingSpin 0.8s linear infinite;
}

.billing-range-message {
    margin: 0.7em 1.4em 0.2em;
}

@keyframes billingSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.billing-more-wrap {
    display: flex;
    justify-content: center;
    padding: 0.2em 1.4em 1.4em;
}

.billing-more-btn {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--js-text-muted);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 0.3em;
    padding: 0.7em 1.2em;
}

.billing-more-btn:hover {
    color: var(--js-primary);
}

/* Pehle item (Transactions) ka top radius */
.side-nav {
    padding: 0;
}
.side-nav:first-child {
    border-top-right-radius: 0.2em;
}

/* Aakhri item (Pending) ka bottom radius */
.side-nav:last-child {
    border-bottom-right-radius: 0.2em;
}
@media (max-width: 1024px) {
    .section-header span{
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5em !important;
}
    .top-tabs {
        display: none !important;
    }
        .side-nav {
        display: block !important;
        border-radius: 0 1em 1em 0;
    }

}

@media (min-width: 1025px) {
    .side-nav {
        display: none;
    }

    .content-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .header-buttons {
        display: none;
    }
    .billing-row,
    .billing-row-actions,
    .bank-panel div,
    .billing-fees div,
    .pending-summary div,
    .billing-range-bar,
    .billing-custom-range {
        align-items: flex-start;
        flex-direction: column;
    }
    .billing-range-select,
    .billing-date-chip,
    .billing-range-apply {
        width: 100%;
    }
    .billing-calendar-popover {
        left: 0;
        right: 0;
        top: 8.6em;
        width: 100%;
    }
    .billing-row-actions {
        width: 100%;
    }
    .nav-label {
    font-size: 0.7em;
    color: var(--js-primary);
}
.side-nav .nav-label {
    color: var(--js-primary) !important;
}
.action-button {
    padding: 1em 1em;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
}
.action-buttons {
    padding: 1em;
}
.side-nav {
    position: fixed;
    left: 0;
    top: 5em;
    height: 50em;
    width: 7em;
}
.balance-amount {
    font-size: 2.25em;
    font-weight: 700;
}
.date-icon {
    margin-right: 0.1em;
    background-color: var(--js-secondary-dark);
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1em solid var(--js-accent);
    border-radius: 10em;
}
.balance-date {
    font-size: 1em;
    position: static;
}
.balance-card {
    padding: 1.4em 1.2em;
    color: #fff;
    margin-bottom: 1.5em;
}
.summary-card {
        padding: 1.4em 1.2em;
}
.balance-label {
    margin-bottom: 0.2em;
}
.balance-amount {
    margin-bottom: 0.2em;
}
.content-area {
    padding: 2.5em 4em;
    padding-right: 2em;
}
.billing-page-load-skeleton {
    padding: 2.5em 4em;
    padding-right: 2em;
}
.billing-skel-summary {
    grid-template-columns: 1fr;
}
.billing-skel-date {
    position: static;
    margin-top: 1em;
}
.billing-skel-row {
    grid-template-columns: 3.2em 1fr;
}
.billing-skel-row b {
    grid-column: 2;
}
  .top-tabs-container::after {
            display: none;
        }
        .top-tabs-container {
    padding-right: 0em;
}
}
@media (max-width: 450px) {
.side-nav {
    position: fixed;
    left: 0;
    top: 7.5em;
    height: max-content;
    width: 6em;
    padding: 1em 0;
    display: none;
}
.content-area {
    padding: 2em 2em;
    padding-right: 1em;
}
.billing-page-load-skeleton {
    padding: 2em 2em;
    padding-right: 1em;
}
.top-tabs{
    position: relative;
}
            .top-tabs-container::after {
            display: none;
        }
            .top-tabs-container {
        padding-right: 1em;
    }
        .content-wrapper{
    padding-left: 6em;
}
}
@media (min-width:450px) {
   .wrap {
    padding-inline: 7.6em 1em;
}
.side-nav {
    position: fixed;
    left: 0;
    top: 7.5em;
    height: max-content;
    width: 6em;
    padding: 1em 0;
} 
.side-nav .nav-label {
    color: var(--js-primary) !important;
}
}
