/* /Layout/MainLayout.razor.rz.scp.css */

.page[b-6uutvvizkq] {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

.sidebar[b-6uutvvizkq] {
    width: 250px;
    min-width: 250px;
    background: #111111;
    color: white;
}

.main-content[b-6uutvvizkq] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.top-row[b-6uutvvizkq] {
    height: 64px;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
}

.content[b-6uutvvizkq] {
    flex: 1;
    min-width: 0;
    padding: 28px;
}

.mobile-menu-button[b-6uutvvizkq] {
    display: none;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 25px;
    cursor: pointer;
    padding: 6px;
}

/* MOBILE NAVIGATION */
.mobile-menu-backdrop[b-6uutvvizkq] {
    display: none;
}

@media (max-width: 768px) {

    .page[b-6uutvvizkq] {
        flex-direction: column;
        min-height: 100vh;
    }

    .sidebar[b-6uutvvizkq] {
        display: none;
    }

    .sidebar.sidebar-open[b-6uutvvizkq] {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        bottom: 0;
        width: min(280px, 85vw);
        min-width: 0;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-backdrop[b-6uutvvizkq] {
        display: block;
        position: fixed;
        inset: 64px 0 0;
        width: 100%;
        height: calc(100% - 64px);
        border: none;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1000;
    }

    .main-content[b-6uutvvizkq] {
        width: 100%;
        min-width: 0;
    }

    .top-row[b-6uutvvizkq] {
        padding: 0 16px;
        height: 64px;
        min-height: 64px;
        font-size: 14px;
    }

    .mobile-menu-button[b-6uutvvizkq] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .content[b-6uutvvizkq] {
        padding: 16px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */

.nav-container[b-mbpj1o2adf] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    background: #111111;
    color: white;
}

.brand[b-mbpj1o2adf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 32px;
}

.brand-logo[b-mbpj1o2adf] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #f97316;
    color: white;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
}

.brand-name[b-mbpj1o2adf] {
    font-size: 21px;
    font-weight: 700;
}

.brand-subtitle[b-mbpj1o2adf] {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #a3a3a3;
}

.nav-section-title[b-mbpj1o2adf] {
    padding: 16px 10px 10px;
    color: #888888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav-links[b-mbpj1o2adf] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-link[b-mbpj1o2adf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    color: #d4d4d4;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.nav-link span[b-mbpj1o2adf] {
    width: 22px;
    font-size: 18px;
    text-align: center;
}

.nav-link:hover[b-mbpj1o2adf] {
    background: #292929;
    color: white;
}

.nav-link.active[b-mbpj1o2adf] {
    background: #f97316;
    color: white;
    font-weight: 600;
}

.sidebar-footer[b-mbpj1o2adf] {
    margin-top: auto;
    padding: 16px 10px 4px;
    border-top: 1px solid #333333;
    color: #a3a3a3;
    font-size: 12px;
}

.status-dot[b-mbpj1o2adf] {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #22c55e;
}
/* /Pages/Bills.razor.rz.scp.css */

.bills-page[b-8qxg5w9216] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    color: var(--text-primary, #222);
}

/* Header */

.bills-header[b-8qxg5w9216] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bills-eyebrow[b-8qxg5w9216] {
    color: #f28c28;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.bills-header h1[b-8qxg5w9216] {
    margin: 6px 0;
    font-size: 28px;
    font-weight: 800;
}

.bills-header p[b-8qxg5w9216],
.bills-toolbar p[b-8qxg5w9216] {
    margin: 0;
    color: var(--text-secondary, #888);
    font-size: 13px;
}

/* Header actions: Search + invoice count */

.bills-header-actions[b-8qxg5w9216] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.bills-header-actions .bills-search[b-8qxg5w9216] {
    width: 280px;
    flex-shrink: 0;
}

.bills-count[b-8qxg5w9216] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 20px;
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 12px;
    background: var(--card-bg, #fff);
}

.bills-count span[b-8qxg5w9216] {
    color: var(--text-secondary, #888);
    font-size: 12px;
}

.bills-count strong[b-8qxg5w9216] {
    font-size: 22px;
}

/* Summary */

.bills-summary[b-8qxg5w9216] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bills-summary-card[b-8qxg5w9216] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 14px;
}

.bills-summary-card span[b-8qxg5w9216] {
    color: var(--text-secondary, #888);
    font-size: 13px;
}

.bills-summary-card strong[b-8qxg5w9216] {
    font-size: 23px;
    font-weight: 750;
}

.received-value[b-8qxg5w9216] {
    color: #159b69;
}

.outstanding-value[b-8qxg5w9216] {
    color: #e17b24;
}

/* Main content */

.bills-content[b-8qxg5w9216] {
    padding: 22px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 16px;
    min-width: 0;
}

.bills-toolbar[b-8qxg5w9216] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.bills-toolbar h2[b-8qxg5w9216] {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 750;
}

.bills-search[b-8qxg5w9216] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: min(340px, 100%);
    padding: 10px 13px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 9px;
    background: var(--input-bg, #fff);
    box-sizing: border-box;
}

.bills-search:focus-within[b-8qxg5w9216] {
    border-color: #f28c28;
    box-shadow: 0 0 0 3px rgba(242, 140, 40, .10);
}

.bills-search span[b-8qxg5w9216] {
    color: var(--text-secondary, #888);
    font-size: 20px;
}

.bills-search input[b-8qxg5w9216] {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary, #222);
    font-size: 13px;
}

/* Table */

.bills-table-wrapper[b-8qxg5w9216] {
    width: 100%;
    overflow-x: auto;
}

.bills-table[b-8qxg5w9216] {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    text-align: left;
}

.bills-table th[b-8qxg5w9216] {
    padding: 13px 14px;
    color: var(--text-secondary, #888);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
}

.bills-table td[b-8qxg5w9216] {
    padding: 16px 14px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.bills-table tbody tr:last-child td[b-8qxg5w9216] {
    border-bottom: none;
}

.bills-table tbody tr:hover[b-8qxg5w9216] {
    background: var(--hover-bg, rgba(242, 140, 40, .045));
}

.invoice-link[b-8qxg5w9216] {
    padding: 0;
    border: none;
    background: none;
    color: #ed8424;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.invoice-link:hover[b-8qxg5w9216] {
    text-decoration: underline;
}

.bill-business-name[b-8qxg5w9216] {
    font-weight: 650;
}

.bill-amount[b-8qxg5w9216] {
    font-weight: 700;
}

.bill-paid[b-8qxg5w9216] {
    color: #159b69;
    font-weight: 650;
}

.bill-outstanding[b-8qxg5w9216] {
    color: #e17b24;
    font-weight: 700;
}

/* Status */

.bill-status[b-8qxg5w9216] {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 750;
}

.status-paid[b-8qxg5w9216] {
    color: #159b69;
    background: rgba(21, 155, 105, .11);
}

.status-partial[b-8qxg5w9216] {
    color: #d18a20;
    background: rgba(209, 138, 32, .12);
}

.status-unpaid[b-8qxg5w9216] {
    color: #d65353;
    background: rgba(214, 83, 83, .11);
}

.bills-table-footer[b-8qxg5w9216] {
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #eee);
    color: var(--text-secondary, #888);
    font-size: 12px;
}

/* Empty state */

.bills-empty[b-8qxg5w9216] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    text-align: center;
}

.empty-icon[b-8qxg5w9216] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(242, 140, 40, .12);
    color: #ed8424;
    font-size: 26px;
}

.bills-empty h3[b-8qxg5w9216] {
    margin: 0 0 7px;
    font-size: 16px;
}

.bills-empty p[b-8qxg5w9216] {
    max-width: 360px;
    margin: 0;
    color: var(--text-secondary, #888);
    font-size: 13px;
}

/* Responsive */

@media (max-width: 850px) {
    .bills-summary[b-8qxg5w9216] {
        grid-template-columns: 1fr;
    }

    .bills-header-actions .bills-search[b-8qxg5w9216] {
        width: 220px;
    }
}

@media (max-width: 600px) {
    .bills-header[b-8qxg5w9216],
    .bills-toolbar[b-8qxg5w9216] {
        align-items: flex-start;
        flex-direction: column;
    }

    .bills-header-actions[b-8qxg5w9216] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .bills-header-actions .bills-search[b-8qxg5w9216] {
        width: 100%;
    }

    .bills-count[b-8qxg5w9216] {
        width: auto;
    }

    .bills-search[b-8qxg5w9216] {
        width: 100%;
    }

    .bills-content[b-8qxg5w9216] {
        padding: 15px;
    }

    .bills-header h1[b-8qxg5w9216] {
        font-size: 24px;
    }
}
/* /Pages/BusinessDetails.razor.rz.scp.css */

/* =========================================
   V - BUSINESS DETAILS PAGE
   Theme: Black / White / Orange
========================================= */

.business-details-page[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    color: var(--text-primary, #222);
}

/* =========================================
   TOP BAR AND PAGE HEADER
========================================= */

.details-topbar[b-ojvwxs7tzn] {
    display: flex;
    align-items: center;
}

.back-btn[b-ojvwxs7tzn] {
    border: none;
    background: transparent;
    color: #e87522;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.back-btn:hover[b-ojvwxs7tzn] {
    color: #c65b12;
}

.details-title-row[b-ojvwxs7tzn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.details-title-row h1[b-ojvwxs7tzn] {
    margin: 6px 0;
    font-size: 30px;
    font-weight: 750;
    color: var(--text-primary, #171717);
    overflow-wrap: anywhere;
}

.details-title-row p[b-ojvwxs7tzn] {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #777);
}

.eyebrow[b-ojvwxs7tzn] {
    color: #e87522;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.5px;
}

.edit-profile-btn[b-ojvwxs7tzn] {
    border: 1px solid #e87522;
    background: #e87522;
    color: white;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.edit-profile-btn:hover[b-ojvwxs7tzn] {
    background: #ce6015;
    border-color: #ce6015;
    transform: translateY(-1px);
}

/* =========================================
   COMMON CARDS
========================================= */

.details-card[b-ojvwxs7tzn],
.financial-overview[b-ojvwxs7tzn],
.invoice-search[b-ojvwxs7tzn] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e9e9e9);
    border-radius: 13px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.section-heading[b-ojvwxs7tzn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading h2[b-ojvwxs7tzn],
.invoice-search h2[b-ojvwxs7tzn] {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 750;
    color: var(--text-primary, #222);
}

.section-heading p[b-ojvwxs7tzn],
.invoice-search p[b-ojvwxs7tzn] {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary, #888);
}

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

.primary-btn[b-ojvwxs7tzn],
.secondary-btn[b-ojvwxs7tzn],
.small-action-btn[b-ojvwxs7tzn],
.close-form-btn[b-ojvwxs7tzn],
.expand-payment-btn[b-ojvwxs7tzn] {
    font-family: inherit;
    cursor: pointer;
    transition: 0.2s ease;
}

.primary-btn[b-ojvwxs7tzn] {
    background: #e87522;
    color: #fff;
    border: 1px solid #e87522;
    border-radius: 8px;
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 650;
}

.primary-btn:hover[b-ojvwxs7tzn] {
    background: #ce6015;
    border-color: #ce6015;
}

.secondary-btn[b-ojvwxs7tzn] {
    background: var(--input-bg, #fff);
    color: var(--text-primary, #333);
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 600;
}

.secondary-btn:hover[b-ojvwxs7tzn] {
    background: var(--hover-bg, #f5f5f5);
}

.small-action-btn[b-ojvwxs7tzn] {
    background: #fff4eb;
    color: #d96618;
    border: 1px solid #f3c49f;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.small-action-btn:hover[b-ojvwxs7tzn] {
    background: #e87522;
    color: white;
    border-color: #e87522;
}

.close-form-btn[b-ojvwxs7tzn] {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color, #ddd);
    background: var(--card-bg, #fff);
    color: var(--text-secondary, #666);
    border-radius: 7px;
    font-size: 21px;
    line-height: 1;
}

.close-form-btn:hover[b-ojvwxs7tzn] {
    background: #fff0e7;
    color: #e87522;
    border-color: #e87522;
}

.expand-payment-btn[b-ojvwxs7tzn] {
    width: 27px;
    height: 27px;
    border-radius: 6px;
    border: 1px solid #e8a16f;
    background: #fff5ed;
    color: #d96618;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.expand-payment-btn:hover[b-ojvwxs7tzn] {
    background: #e87522;
    color: white;
}

/* =========================================
   BUSINESS INFORMATION
========================================= */

.business-info-grid[b-ojvwxs7tzn] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.info-item[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 15px;
    border-radius: 9px;
    background: var(--subtle-bg, #fafafa);
    border: 1px solid var(--border-color, #eee);
}

.info-item span[b-ojvwxs7tzn] {
    font-size: 11px;
    font-weight: 650;
    color: var(--text-secondary, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item strong[b-ojvwxs7tzn] {
    font-size: 14px;
    font-weight: 650;
    color: var(--text-primary, #252525);
    overflow-wrap: anywhere;
}

/* =========================================
   FINANCIAL OVERVIEW
========================================= */

.financial-overview[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
}

.financial-overview .section-heading[b-ojvwxs7tzn] {
    margin-bottom: 18px;
}

.financial-grid[b-ojvwxs7tzn] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.financial-card[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 20px;
    border: 1px solid var(--border-color, #eee);
    border-left: 4px solid #e87522;
    border-radius: 10px;
    background: var(--subtle-bg, #fafafa);
    min-width: 0;
}

.financial-card span[b-ojvwxs7tzn] {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary, #777);
}

.financial-card strong[b-ojvwxs7tzn] {
    font-size: 24px;
    font-weight: 750;
    color: var(--text-primary, #222);
    overflow-wrap: anywhere;
}

.financial-card small[b-ojvwxs7tzn] {
    font-size: 11px;
    color: var(--text-secondary, #999);
}

.outstanding-card[b-ojvwxs7tzn] {
    border-left-color: #d94b3d;
}

.outstanding-card strong[b-ojvwxs7tzn] {
    color: #d94b3d;
}

/* =========================================
   FORMS
========================================= */

.edit-profile-card h2[b-ojvwxs7tzn],
.purchase-form-card h3[b-ojvwxs7tzn] {
    margin: 0 0 20px;
    font-size: 17px;
    font-weight: 750;
    color: var(--text-primary, #222);
}

.profile-form-grid[b-ojvwxs7tzn],
.purchase-form-grid[b-ojvwxs7tzn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.profile-field[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.profile-field.full-width[b-ojvwxs7tzn] {
    grid-column: 1 / -1;
}

.profile-field label[b-ojvwxs7tzn] {
    font-size: 12px;
    font-weight: 650;
    color: var(--text-primary, #444);
}

.profile-field input[b-ojvwxs7tzn],
.profile-field textarea[b-ojvwxs7tzn] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 7px;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #222);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-field input[b-ojvwxs7tzn] {
    min-height: 41px;
}

.profile-field textarea[b-ojvwxs7tzn] {
    min-height: 85px;
    resize: vertical;
}

.profile-field input:focus[b-ojvwxs7tzn],
.profile-field textarea:focus[b-ojvwxs7tzn] {
    border-color: #e87522;
    box-shadow: 0 0 0 3px rgba(232, 117, 34, 0.12);
}

.profile-form-actions[b-ojvwxs7tzn] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.purchase-form-card[b-ojvwxs7tzn] {
    padding: 21px;
    margin-bottom: 22px;
    background: var(--subtle-bg, #fafafa);
    border: 1px solid var(--border-color, #eee);
    border-radius: 10px;
}

.purchase-error[b-ojvwxs7tzn] {
    margin: 15px 0 0;
    padding: 10px 12px;
    background: #fff0ee;
    border: 1px solid #f2c1bb;
    color: #bd382c;
    border-radius: 7px;
    font-size: 13px;
}

/* =========================================
   TRANSACTION SEARCH
========================================= */

.invoice-search[b-ojvwxs7tzn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.invoice-search-control[b-ojvwxs7tzn] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 310px;
    max-width: 100%;
    padding: 0 11px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--input-bg, #fff);
}

.invoice-search-control span[b-ojvwxs7tzn] {
    font-size: 21px;
    color: #e87522;
}

.invoice-search-control input[b-ojvwxs7tzn] {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary, #222);
    font-size: 12px;
}

.invoice-search-control button[b-ojvwxs7tzn] {
    border: none;
    background: transparent;
    color: var(--text-secondary, #777);
    font-size: 20px;
    cursor: pointer;
}

.invoice-search-control:focus-within[b-ojvwxs7tzn] {
    border-color: #e87522;
    box-shadow: 0 0 0 3px rgba(232, 117, 34, 0.1);
}

/* =========================================
   TABLES
========================================= */

.table-count[b-ojvwxs7tzn] {
    margin: 4px 0 12px;
    font-size: 12px;
    color: var(--text-secondary, #888);
}

.purchase-table-wrapper[b-ojvwxs7tzn] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color, #eee);
    border-radius: 9px;
}

.purchase-table[b-ojvwxs7tzn] {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    text-align: left;
}

.purchase-table th[b-ojvwxs7tzn] {
    padding: 13px 14px;
    background: var(--subtle-bg, #f8f8f8);
    color: var(--text-secondary, #777);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color, #e9e9e9);
}

.purchase-table td[b-ojvwxs7tzn] {
    padding: 14px;
    font-size: 12px;
    color: var(--text-primary, #444);
    border-bottom: 1px solid var(--border-color, #eee);
    vertical-align: middle;
}

.purchase-table tbody tr:last-child td[b-ojvwxs7tzn] {
    border-bottom: none;
}

.purchase-table tbody tr:hover[b-ojvwxs7tzn] {
    background: var(--hover-bg, #fafafa);
}

.purchase-table td strong[b-ojvwxs7tzn] {
    font-weight: 700;
    color: var(--text-primary, #222);
}

.purchase-items-cell[b-ojvwxs7tzn] {
    max-width: 180px;
    overflow-wrap: anywhere;
}

.empty-table-message[b-ojvwxs7tzn] {
    padding: 35px !important;
    text-align: center;
    color: var(--text-secondary, #999) !important;
}

.fully-paid-label[b-ojvwxs7tzn] {
    color: #26945d;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   PAYMENT STATUS
========================================= */

.status-badge[b-ojvwxs7tzn] {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.status-badge.paid[b-ojvwxs7tzn] {
    background: #e5f6ed;
    color: #21834e;
}

.status-badge.partial[b-ojvwxs7tzn] {
    background: #fff3df;
    color: #b87516;
}

.status-badge.unpaid[b-ojvwxs7tzn] {
    background: #fdebea;
    color: #c4443c;
}

/* =========================================
   PAYMENT ENTRY
========================================= */

.payment-entry-card[b-ojvwxs7tzn] {
    border-top: 3px solid #e87522;
}

.payment-balance-info[b-ojvwxs7tzn] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.payment-balance-info > div[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    background: var(--subtle-bg, #fafafa);
    border: 1px solid var(--border-color, #eee);
    border-radius: 8px;
}

.payment-balance-info span[b-ojvwxs7tzn] {
    color: var(--text-secondary, #888);
    font-size: 11px;
}

.payment-balance-info strong[b-ojvwxs7tzn] {
    color: var(--text-primary, #222);
    font-size: 17px;
}

.payment-balance-info .pending-value[b-ojvwxs7tzn] {
    color: #d96618;
}

/* =========================================
   PAYMENT HISTORY
========================================= */

.payment-table[b-ojvwxs7tzn] {
    min-width: 750px;
}

.payment-detail-row td[b-ojvwxs7tzn] {
    padding: 0 !important;
    background: var(--subtle-bg, #fafafa);
}

.individual-payments[b-ojvwxs7tzn] {
    padding: 20px;
}

.individual-payments h4[b-ojvwxs7tzn] {
    margin: 0 0 15px;
    color: var(--text-primary, #333);
    font-size: 13px;
    font-weight: 750;
}

.no-payments-message[b-ojvwxs7tzn] {
    padding: 15px;
    color: var(--text-secondary, #888);
    font-size: 12px;
}

.individual-payment-table[b-ojvwxs7tzn] {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eee);
    border-radius: 7px;
}

.individual-payment-table th[b-ojvwxs7tzn] {
    padding: 11px 13px;
    text-align: left;
    background: var(--subtle-bg, #f4f4f4);
    color: var(--text-secondary, #777);
    font-size: 10px;
    text-transform: uppercase;
}

.individual-payment-table td[b-ojvwxs7tzn] {
    padding: 11px 13px;
    border-top: 1px solid var(--border-color, #eee);
    font-size: 12px;
    color: var(--text-primary, #444);
}

.payment-breakdown[b-ojvwxs7tzn] {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 16px;
    padding: 13px;
    border-radius: 7px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eee);
}

.payment-breakdown span[b-ojvwxs7tzn] {
    font-size: 11px;
    color: var(--text-secondary, #777);
}

.payment-breakdown strong[b-ojvwxs7tzn] {
    color: var(--text-primary, #222);
}

/* =========================================
   RECENT ACTIVITY
========================================= */

.activity-list[b-ojvwxs7tzn] {
    display: flex;
    flex-direction: column;
}

.activity-item[b-ojvwxs7tzn] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color, #eee);
}

.activity-item:last-child[b-ojvwxs7tzn] {
    border-bottom: none;
}

.activity-dot[b-ojvwxs7tzn] {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: #e87522;
    box-shadow: 0 0 0 4px rgba(232, 117, 34, 0.12);
}

.activity-item strong[b-ojvwxs7tzn] {
    font-size: 13px;
    color: var(--text-primary, #333);
}

.activity-item p[b-ojvwxs7tzn] {
    margin: 5px 0;
    font-size: 12px;
    color: var(--text-secondary, #777);
}

.activity-item small[b-ojvwxs7tzn] {
    font-size: 11px;
    color: var(--text-secondary, #999);
}

.activity-empty[b-ojvwxs7tzn] {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary, #999);
    font-size: 13px;
}

/* =========================================
   NOT FOUND
========================================= */

.details-not-found[b-ojvwxs7tzn] {
    padding: 60px 20px;
    text-align: center;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eee);
    border-radius: 12px;
}

.details-not-found h2[b-ojvwxs7tzn] {
    color: var(--text-primary, #222);
}

.details-not-found p[b-ojvwxs7tzn] {
    color: var(--text-secondary, #888);
    margin-bottom: 22px;
}

/* =========================================
   RESPONSIVE - TABLETS
========================================= */

@media (max-width: 1000px) {
    .business-info-grid[b-ojvwxs7tzn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .financial-grid[b-ojvwxs7tzn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 650px) {
    .business-details-page[b-ojvwxs7tzn] {
        gap: 17px;
    }

    .details-card[b-ojvwxs7tzn],
    .financial-overview[b-ojvwxs7tzn],
    .invoice-search[b-ojvwxs7tzn] {
        padding: 16px;
        border-radius: 10px;
    }

    .details-title-row[b-ojvwxs7tzn] {
        align-items: flex-start;
        flex-direction: column;
    }

    .details-title-row h1[b-ojvwxs7tzn] {
        font-size: 24px;
    }

    .edit-profile-btn[b-ojvwxs7tzn] {
        width: 100%;
    }

    .section-heading[b-ojvwxs7tzn] {
        align-items: flex-start;
        flex-direction: column;
    }

    .business-info-grid[b-ojvwxs7tzn],
    .financial-grid[b-ojvwxs7tzn],
    .profile-form-grid[b-ojvwxs7tzn],
    .purchase-form-grid[b-ojvwxs7tzn],
    .payment-balance-info[b-ojvwxs7tzn] {
        grid-template-columns: 1fr;
    }

    .profile-field.full-width[b-ojvwxs7tzn] {
        grid-column: auto;
    }

    .financial-card strong[b-ojvwxs7tzn] {
        font-size: 21px;
    }

    .invoice-search[b-ojvwxs7tzn] {
        align-items: stretch;
        flex-direction: column;
    }

    .invoice-search-control[b-ojvwxs7tzn] {
        width: 100%;
        box-sizing: border-box;
    }

    .profile-form-actions[b-ojvwxs7tzn] {
        flex-direction: column-reverse;
    }

    .profile-form-actions button[b-ojvwxs7tzn] {
        width: 100%;
    }

    .payment-breakdown[b-ojvwxs7tzn] {
        flex-direction: column;
        gap: 10px;
    }

    .individual-payments[b-ojvwxs7tzn] {
        padding: 12px;
    }
}
/* /Pages/Businesses.razor.rz.scp.css */

.businesses-page[b-9yajnud8x5] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-heading h1[b-9yajnud8x5] {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 750;
    color: var(--text-primary, #171717);
}

.page-heading p[b-9yajnud8x5] {
    margin: 0;
    color: var(--text-secondary, #777);
    font-size: 14px;
}

.business-toolbar[b-9yajnud8x5] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.business-toolbar input[b-9yajnud8x5] {
    flex: 1;
    max-width: 420px;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: var(--surface-color, white);
    color: var(--text-primary, #171717);
}

.business-toolbar input:focus[b-9yajnud8x5] {
    border-color: #f97316;
}

.add-business-btn[b-9yajnud8x5] {
    padding: 11px 18px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.add-business-btn:hover[b-9yajnud8x5] {
    background: #ea580c;
}

.business-table-card[b-9yajnud8x5] {
    background: var(--surface-color, white);
    border: 1px solid var(--border-color, #eee);
    border-radius: 12px;
    padding: 22px;
}

.form-card h2[b-9yajnud8x5] {
    margin: 0;
    color: var(--text-primary, #171717);
    font-size: 19px;
}

.table-heading[b-9yajnud8x5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.table-heading h2[b-9yajnud8x5] {
    margin: 0;
    font-size: 18px;
    color: var(--text-primary, #171717);
}

.table-heading p[b-9yajnud8x5] {
    margin: 5px 0 0;
    font-size: 13px;
    color: var(--text-secondary, #888);
}

.table-heading > span[b-9yajnud8x5] {
    color: var(--text-secondary, #888);
    font-size: 13px;
    white-space: nowrap;
}

.empty-state[b-9yajnud8x5] {
    text-align: center;
    padding: 55px 20px;
}

.empty-icon[b-9yajnud8x5] {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: #fff0e5;
    color: #f97316;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 700;
}

.empty-state h3[b-9yajnud8x5] {
    color: var(--text-primary, #222);
    font-size: 16px;
}

.empty-state p[b-9yajnud8x5] {
    color: var(--text-secondary, #888);
    font-size: 13px;
    margin-bottom: 20px;
}

/* Business form */

.business-form[b-9yajnud8x5] {
    margin-top: 24px;
}

.form-grid[b-9yajnud8x5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group[b-9yajnud8x5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.form-group label[b-9yajnud8x5] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #444);
}

.form-group input[b-9yajnud8x5],
.form-group textarea[b-9yajnud8x5] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #dedede);
    border-radius: 8px;
    background: var(--surface-color, white);
    color: var(--text-primary, #171717);
    font-size: 14px;
    outline: none;
}

.form-group input:focus[b-9yajnud8x5],
.form-group textarea:focus[b-9yajnud8x5] {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.form-group textarea[b-9yajnud8x5] {
    min-height: 95px;
    resize: vertical;
}

.full-width[b-9yajnud8x5] {
    grid-column: 1 / -1;
}

.form-actions[b-9yajnud8x5] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color, #eee);
}

.cancel-btn[b-9yajnud8x5] {
    padding: 11px 18px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary, #444);
    cursor: pointer;
}

/* Business list */

.business-list[b-9yajnud8x5] {
    margin-top: 18px;
}

.business-item[b-9yajnud8x5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 12px;
    border-top: 1px solid var(--border-color, #eee);
}

.business-main-info[b-9yajnud8x5] {
    min-width: 0;
}

.business-item p[b-9yajnud8x5],
.business-item small[b-9yajnud8x5] {
    display: block;
    margin: 5px 0 0;
    color: var(--text-secondary, #777);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.business-name-btn[b-9yajnud8x5] {
    display: block;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary, #171717);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.business-name-btn:hover[b-9yajnud8x5] {
    color: #f97316;
}

.business-item-actions[b-9yajnud8x5] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.edit-btn[b-9yajnud8x5] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary, #888);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn:hover[b-9yajnud8x5] {
    background: #fff0e5;
    color: #f97316;
    border-color: #fed7aa;
}

.view-btn[b-9yajnud8x5] {
    padding: 9px 12px;
    background: transparent;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    color: var(--text-primary, #444);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-btn:hover[b-9yajnud8x5] {
    color: #f97316;
    border-color: #f97316;
}

@media (max-width: 650px) {
    .form-grid[b-9yajnud8x5] {
        grid-template-columns: 1fr;
    }

    .full-width[b-9yajnud8x5] {
        grid-column: auto;
    }
}

@media (max-width: 550px) {
    .business-toolbar[b-9yajnud8x5] {
        flex-direction: column;
    }

    .business-toolbar input[b-9yajnud8x5] {
        max-width: 100%;
    }

    .business-item[b-9yajnud8x5] {
        align-items: flex-start;
    }

    .business-item-actions[b-9yajnud8x5] {
        flex-direction: column;
    }

    .view-btn[b-9yajnud8x5] {
        white-space: nowrap;
    }

    .business-table-card[b-9yajnud8x5] {
        padding: 16px;
    }
}
.businesses-eyebrow[b-9yajnud8x5] {
    color: #f28c28;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
/* DELETE BUSINESS BUTTON */
.delete-btn[b-9yajnud8x5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #dc2626;
    border-radius: 8px;
    background: transparent;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-btn:hover[b-9yajnud8x5] {
    background: #dc2626;
    color: #ffffff;
}

.delete-btn:disabled[b-9yajnud8x5] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/Dashboard.razor.rz.scp.css */

.dashboard-page[b-9r42ivc79y] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    color: var(--text-primary, #222);
}

/* Header */

.dashboard-header[b-9r42ivc79y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dashboard-eyebrow[b-9r42ivc79y] {
    color: #e87522;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.5px;
}

.dashboard-header h1[b-9r42ivc79y] {
    margin: 6px 0;
    font-size: 30px;
    font-weight: 750;
    color: var(--text-primary, #171717);
}

.dashboard-header p[b-9r42ivc79y] {
    margin: 0;
    color: var(--text-secondary, #777);
    font-size: 14px;
}

.dashboard-month[b-9r42ivc79y] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-month label[b-9r42ivc79y] {
    color: var(--text-secondary, #777);
    font-size: 11px;
    font-weight: 650;
}

.dashboard-month input[b-9r42ivc79y] {
    padding: 10px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #222);
    font-family: inherit;
    font-size: 13px;
}

/* Summary cards */

.dashboard-summary-grid[b-9r42ivc79y] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.summary-card[b-9r42ivc79y] {
    min-width: 0;
    padding: 20px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e9e9e9);
    border-radius: 12px;
    border-top: 3px solid #e87522;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.summary-card-top[b-9r42ivc79y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary, #777);
    font-size: 12px;
    font-weight: 650;
}

.summary-icon[b-9r42ivc79y] {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #fff1e6;
    color: #e87522;
    font-size: 17px;
    font-weight: 750;
}

.summary-card > strong[b-9r42ivc79y] {
    display: block;
    margin: 16px 0 7px;
    color: var(--text-primary, #222);
    font-size: 23px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.summary-card > small[b-9r42ivc79y] {
    color: var(--text-secondary, #999);
    font-size: 11px;
}

.pending-summary[b-9r42ivc79y] {
    border-top-color: #d94b3d;
}

.business-summary[b-9r42ivc79y] {
    border-top-color: #555;
}

/* Panels */

.dashboard-panel[b-9r42ivc79y] {
    min-width: 0;
    padding: 24px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e9e9e9);
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.dashboard-section-heading[b-9r42ivc79y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.dashboard-section-heading h2[b-9r42ivc79y] {
    margin: 0 0 5px;
    color: var(--text-primary, #222);
    font-size: 18px;
    font-weight: 750;
}

.dashboard-section-heading p[b-9r42ivc79y] {
    margin: 0;
    color: var(--text-secondary, #888);
    font-size: 12px;
}

/* Monthly chart */

.chart-legend[b-9r42ivc79y] {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.chart-legend span[b-9r42ivc79y] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary, #777);
    font-size: 11px;
}

.chart-legend i[b-9r42ivc79y] {
    width: 9px;
    height: 9px;
    border-radius: 3px;
}

.legend-sales[b-9r42ivc79y] {
    background: #e87522;
}

.legend-collections[b-9r42ivc79y] {
    background: #333;
}

.monthly-chart[b-9r42ivc79y] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    min-height: 190px;
    padding: 15px 5px 0;
    border-bottom: 1px solid var(--border-color, #ddd);
}

.chart-month[b-9r42ivc79y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.chart-bars[b-9r42ivc79y] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 155px;
}

.chart-bar-group[b-9r42ivc79y] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 100%;
    height: 100%;
}

.chart-bar[b-9r42ivc79y] {
    width: min(28px, 38%);
    min-height: 0;
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease;
}

.sales-bar[b-9r42ivc79y] {
    background: #e87522;
}

.collections-bar[b-9r42ivc79y] {
    background: #333;
}

.chart-month > span[b-9r42ivc79y] {
    padding-bottom: 10px;
    color: var(--text-secondary, #888);
    font-size: 11px;
    font-weight: 600;
}

.chart-note[b-9r42ivc79y] {
    margin-top: 14px;
    color: var(--text-secondary, #999);
    font-size: 11px;
}

/* Tables */

.dashboard-table-wrapper[b-9r42ivc79y] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color, #eee);
    border-radius: 9px;
}

.dashboard-table[b-9r42ivc79y] {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    text-align: left;
}

.dashboard-table th[b-9r42ivc79y] {
    padding: 13px 14px;
    background: var(--subtle-bg, #f8f8f8);
    border-bottom: 1px solid var(--border-color, #e9e9e9);
    color: var(--text-secondary, #777);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dashboard-table td[b-9r42ivc79y] {
    padding: 14px;
    border-bottom: 1px solid var(--border-color, #eee);
    color: var(--text-primary, #444);
    font-size: 12px;
    vertical-align: middle;
}

.dashboard-table tbody tr:last-child td[b-9r42ivc79y] {
    border-bottom: none;
}

.dashboard-table tbody tr:hover[b-9r42ivc79y] {
    background: var(--hover-bg, #fafafa);
}

.dashboard-table td strong[b-9r42ivc79y] {
    color: var(--text-primary, #222);
    font-weight: 700;
}

.pending-amount[b-9r42ivc79y] {
    color: #cf493d !important;
    font-weight: 700;
}

.paid-amount[b-9r42ivc79y] {
    color: #21834e !important;
    font-weight: 700;
}

.dashboard-view-link[b-9r42ivc79y] {
    color: #e87522;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-view-link:hover[b-9r42ivc79y] {
    color: #c65b12;
    text-decoration: underline;
}

/* Status */

.dashboard-status[b-9r42ivc79y] {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.dashboard-status.paid[b-9r42ivc79y] {
    background: #e5f6ed;
    color: #21834e;
}

.dashboard-status.partial[b-9r42ivc79y] {
    background: #fff3df;
    color: #b87516;
}

.dashboard-status.unpaid[b-9r42ivc79y] {
    background: #fdebea;
    color: #c4443c;
}

.dashboard-empty[b-9r42ivc79y] {
    padding: 30px 15px;
    text-align: center;
    color: var(--text-secondary, #999);
    font-size: 13px;
}

/* Tablet */

@media (max-width: 1000px) {
    .dashboard-summary-grid[b-9r42ivc79y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 650px) {
    .dashboard-page[b-9r42ivc79y] {
        gap: 17px;
    }

    .dashboard-header[b-9r42ivc79y] {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-header h1[b-9r42ivc79y] {
        font-size: 25px;
    }

    .dashboard-month[b-9r42ivc79y] {
        width: 100%;
    }

    .dashboard-month input[b-9r42ivc79y] {
        box-sizing: border-box;
        width: 100%;
    }

    .dashboard-summary-grid[b-9r42ivc79y] {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .summary-card[b-9r42ivc79y] {
        padding: 14px;
    }

    .summary-card > strong[b-9r42ivc79y] {
        font-size: 18px;
    }

    .summary-card-top[b-9r42ivc79y] {
        font-size: 11px;
    }

    .summary-icon[b-9r42ivc79y] {
        width: 27px;
        height: 27px;
    }

    .dashboard-panel[b-9r42ivc79y] {
        padding: 16px;
        border-radius: 10px;
    }

    .dashboard-section-heading h2[b-9r42ivc79y] {
        font-size: 16px;
    }

    .monthly-chart[b-9r42ivc79y] {
        gap: 5px;
        min-height: 160px;
    }

    .chart-bars[b-9r42ivc79y] {
        height: 125px;
    }

    .chart-bar-group[b-9r42ivc79y] {
        gap: 3px;
    }

    .chart-bar[b-9r42ivc79y] {
        width: 35%;
    }
}

@media (max-width: 380px) {
    .dashboard-summary-grid[b-9r42ivc79y] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Home.razor.rz.scp.css */

.dashboard[b-ly3bn3n1nv] {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.welcome-section[b-ly3bn3n1nv],
.section-heading[b-ly3bn3n1nv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.welcome-section h1[b-ly3bn3n1nv] {
    font-size: 28px;
    font-weight: 750;
    margin: 0 0 6px;
    color: #111111;
}

.welcome-section p[b-ly3bn3n1nv],
.section-heading p[b-ly3bn3n1nv] {
    margin: 0;
    color: #777777;
    font-size: 14px;
}

.today-date[b-ly3bn3n1nv] {
    color: #777777;
    font-size: 13px;
}

.stats-grid[b-ly3bn3n1nv] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card[b-ly3bn3n1nv] {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 22px;
    border-top: 3px solid #f97316;
}

.stat-label[b-ly3bn3n1nv] {
    color: #777777;
    font-size: 13px;
}

.stat-card h2[b-ly3bn3n1nv] {
    font-size: 27px;
    font-weight: 750;
    color: #111111;
    margin: 14px 0 8px;
}

.stat-note[b-ly3bn3n1nv] {
    color: #999999;
    font-size: 12px;
}

.recent-section[b-ly3bn3n1nv] {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 24px;
}

.section-heading h2[b-ly3bn3n1nv] {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #111111;
}

.empty-state[b-ly3bn3n1nv] {
    text-align: center;
    padding: 55px 20px;
}

.empty-icon[b-ly3bn3n1nv] {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    background: #fff0e5;
    color: #f97316;
    border-radius: 14px;
    font-size: 25px;
    font-weight: 700;
}

.empty-state h3[b-ly3bn3n1nv] {
    color: #222222;
    font-size: 16px;
}

.empty-state p[b-ly3bn3n1nv] {
    color: #888888;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .stats-grid[b-ly3bn3n1nv] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .stats-grid[b-ly3bn3n1nv] {
        grid-template-columns: 1fr;
    }

    .welcome-section[b-ly3bn3n1nv] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Pages/InvoiceDetails.razor.rz.scp.css */
/* /Pages/Payments.razor.rz.scp.css */

/* =========================================
   V - PAYMENTS PAGE
   Theme: Black / White / Orange
========================================= */

.payments-page[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    color: var(--text-primary, #222);
}

.page-heading h1[b-s7bh4i23q0] {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 750;
    color: var(--text-primary, #111);
}

.page-heading p[b-s7bh4i23q0] {
    margin: 0;
    color: var(--text-secondary, #777);
    font-size: 14px;
}

/* SECTION HEADINGS */

.section-heading[b-s7bh4i23q0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-heading h2[b-s7bh4i23q0] {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 750;
    color: var(--text-primary, #222);
}

.section-heading p[b-s7bh4i23q0] {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary, #888);
}

.section-count[b-s7bh4i23q0] {
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--surface-muted, #f3f3f3);
    color: var(--text-secondary, #666);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

/* ADD PAYMENT CARD */

.payment-entry-card[b-s7bh4i23q0],
.payments-section[b-s7bh4i23q0] {
    padding: 24px;
    border: 1px solid var(--border-color, #e9e9e9);
    border-radius: 16px;
    background: var(--surface, #fff);
}

.invoice-search-area[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-search-area label[b-s7bh4i23q0],
.form-group label[b-s7bh4i23q0] {
    font-size: 13px;
    font-weight: 650;
    color: var(--text-primary, #333);
}

.invoice-search-area input[b-s7bh4i23q0],
.form-group input[b-s7bh4i23q0],
.form-group textarea[b-s7bh4i23q0] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 9px;
    outline: none;
    background: var(--input-bg, #fff);
    color: var(--text-primary, #222);
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.invoice-search-area input:focus[b-s7bh4i23q0],
.form-group input:focus[b-s7bh4i23q0],
.form-group textarea:focus[b-s7bh4i23q0] {
    border-color: #f28c28;
    box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.12);
}

/* INVOICE SEARCH RESULTS */

.invoice-search-results[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 10px;
    overflow: hidden;
}

.invoice-result[b-s7bh4i23q0] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color, #eee);
    background: var(--surface, #fff);
    transition: background 0.2s;
}

.invoice-result:last-child[b-s7bh4i23q0] {
    border-bottom: none;
}

.invoice-result:hover[b-s7bh4i23q0],
.invoice-result.selected[b-s7bh4i23q0] {
    background: var(--surface-muted, #faf7f3);
}

.invoice-result-info[b-s7bh4i23q0] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.invoice-result-info strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
    font-size: 13px;
}

.invoice-result-info span[b-s7bh4i23q0],
.invoice-result-info small[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 12px;
}

.invoice-result-balance[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.invoice-result-balance strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
    font-size: 13px;
}

.invoice-result-balance span[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 11px;
}

.select-invoice-btn[b-s7bh4i23q0],
.save-payment-btn[b-s7bh4i23q0] {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    background: #f28c28;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.select-invoice-btn:hover[b-s7bh4i23q0],
.save-payment-btn:hover[b-s7bh4i23q0] {
    background: #dc7616;
}

.fully-paid-label[b-s7bh4i23q0] {
    color: #26945e;
    font-size: 12px;
    font-weight: 700;
}

.no-invoices-found[b-s7bh4i23q0] {
    padding: 18px;
    text-align: center;
    color: var(--text-secondary, #888);
    font-size: 13px;
}

/* SELECTED INVOICE */

.selected-invoice-panel[b-s7bh4i23q0] {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(242, 140, 40, 0.35);
    border-radius: 12px;
    background: var(--surface-muted, #fffaf5);
}

.selected-invoice-heading[b-s7bh4i23q0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.field-label[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-invoice-heading h3[b-s7bh4i23q0] {
    margin: 5px 0;
    color: var(--text-primary, #222);
    font-size: 17px;
}

.selected-invoice-heading p[b-s7bh4i23q0] {
    margin: 0;
    color: var(--text-secondary, #888);
    font-size: 13px;
}

.clear-selection-btn[b-s7bh4i23q0] {
    padding: 7px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 7px;
    background: var(--surface, #fff);
    color: var(--text-secondary, #666);
    font-size: 12px;
    cursor: pointer;
}

/* INVOICE FINANCIAL SUMMARY */

.payment-invoice-summary[b-s7bh4i23q0] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.payment-invoice-summary > div[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    border-radius: 9px;
    background: var(--surface, #fff);
}

.payment-invoice-summary span[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 11px;
}

.payment-invoice-summary strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
    font-size: 17px;
}

.payment-invoice-summary .outstanding-amount[b-s7bh4i23q0] {
    color: #e98220;
}

/* PAYMENT FORM */

.payment-form[b-s7bh4i23q0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width[b-s7bh4i23q0] {
    grid-column: 1 / -1;
}

.form-group textarea[b-s7bh4i23q0] {
    resize: vertical;
}

.payment-form-actions[b-s7bh4i23q0] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.cancel-payment-btn[b-s7bh4i23q0] {
    padding: 10px 17px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--surface, #fff);
    color: var(--text-secondary, #666);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.payment-error[b-s7bh4i23q0] {
    margin-top: 12px;
    color: #d64545;
    font-size: 12px;
    font-weight: 600;
}

/* SUMMARY CARDS */

.payment-summary-grid[b-s7bh4i23q0] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.payment-summary-card[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 20px;
    border: 1px solid var(--border-color, #e9e9e9);
    border-radius: 14px;
    background: var(--surface, #fff);
}

.payment-summary-card span[b-s7bh4i23q0] {
    color: var(--text-secondary, #777);
    font-size: 12px;
    font-weight: 600;
}

.payment-summary-card strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
    font-size: 23px;
    font-weight: 750;
}

.payment-summary-card small[b-s7bh4i23q0] {
    color: var(--text-secondary, #999);
    font-size: 11px;
}

/* TABLE */

.payments-table-wrapper[b-s7bh4i23q0] {
    width: 100%;
    overflow-x: auto;
}

.payments-table[b-s7bh4i23q0] {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.payments-table th[b-s7bh4i23q0] {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
    color: var(--text-secondary, #888);
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.payments-table td[b-s7bh4i23q0] {
    padding: 15px 14px;
    border-bottom: 1px solid var(--border-color, #eee);
    color: var(--text-primary, #444);
    font-size: 12px;
}

.payments-table tbody tr:last-child td[b-s7bh4i23q0] {
    border-bottom: none;
}

.payments-table tbody tr:hover[b-s7bh4i23q0] {
    background: var(--surface-muted, #fafafa);
}

.payments-table td strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
}

.outstanding-cell[b-s7bh4i23q0] {
    color: #e98220 !important;
    font-weight: 700;
}

.payment-status[b-s7bh4i23q0] {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.status-unpaid[b-s7bh4i23q0] {
    background: #fff0ed;
    color: #d65342;
}

.status-partial[b-s7bh4i23q0] {
    background: #fff4df;
    color: #b87913;
}

.status-paid[b-s7bh4i23q0] {
    background: #e9f7ef;
    color: #26945e;
}

/* RECENT PAYMENTS */

.recent-payments-list[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
}

.recent-payment-item[b-s7bh4i23q0] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.recent-payment-item:last-child[b-s7bh4i23q0] {
    border-bottom: none;
}

.recent-payment-icon[b-s7bh4i23q0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(242, 140, 40, 0.12);
    color: #e98220;
    font-size: 17px;
    font-weight: 750;
}

.recent-payment-info[b-s7bh4i23q0] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.recent-payment-info strong[b-s7bh4i23q0] {
    color: var(--text-primary, #222);
    font-size: 13px;
}

.recent-payment-info span[b-s7bh4i23q0],
.recent-payment-info small[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 11px;
}

.recent-payment-amount[b-s7bh4i23q0] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.recent-payment-amount strong[b-s7bh4i23q0] {
    color: #26945e;
    font-size: 14px;
}

.recent-payment-amount span[b-s7bh4i23q0] {
    color: var(--text-secondary, #888);
    font-size: 11px;
}

/* EMPTY STATES */

.empty-payments[b-s7bh4i23q0] {
    padding: 35px 15px;
    text-align: center;
}

.empty-payments h3[b-s7bh4i23q0] {
    margin: 0 0 6px;
    color: var(--text-primary, #333);
    font-size: 16px;
}

.empty-payments p[b-s7bh4i23q0] {
    margin: 0;
    color: var(--text-secondary, #888);
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .payment-summary-grid[b-s7bh4i23q0] {
        grid-template-columns: 1fr 1fr;
    }

    .payment-summary-card:last-child[b-s7bh4i23q0] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .payments-page[b-s7bh4i23q0] {
        gap: 18px;
    }

    .payment-entry-card[b-s7bh4i23q0],
    .payments-section[b-s7bh4i23q0] {
        padding: 17px;
    }

    .payment-summary-grid[b-s7bh4i23q0] {
        grid-template-columns: 1fr;
    }

    .payment-summary-card:last-child[b-s7bh4i23q0] {
        grid-column: auto;
    }

    .payment-invoice-summary[b-s7bh4i23q0] {
        grid-template-columns: 1fr;
    }

    .payment-form[b-s7bh4i23q0] {
        grid-template-columns: 1fr;
    }

    .form-group.full-width[b-s7bh4i23q0] {
        grid-column: auto;
    }

    .invoice-result[b-s7bh4i23q0] {
        flex-wrap: wrap;
        gap: 10px;
    }

    .invoice-result-info[b-s7bh4i23q0] {
        flex-basis: 55%;
    }

    .invoice-result-balance[b-s7bh4i23q0] {
        flex: 1;
    }

    .select-invoice-btn[b-s7bh4i23q0],
    .fully-paid-label[b-s7bh4i23q0] {
        margin-left: auto;
    }

    .section-heading[b-s7bh4i23q0] {
        align-items: flex-start;
    }

    .recent-payment-item[b-s7bh4i23q0] {
        align-items: flex-start;
    }
}
/* Payments Header Eyebrow */

.payments-eyebrow[b-s7bh4i23q0] {
    color: #f28c28;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
