/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-dq3ipvg4lt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dq3ipvg4lt] {
    flex: 1;
}

.sidebar[b-dq3ipvg4lt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dq3ipvg4lt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dq3ipvg4lt]  a, .top-row[b-dq3ipvg4lt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dq3ipvg4lt]  a:hover, .top-row[b-dq3ipvg4lt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dq3ipvg4lt]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dq3ipvg4lt] {
        justify-content: space-between;
    }

    .top-row[b-dq3ipvg4lt]  a, .top-row[b-dq3ipvg4lt]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dq3ipvg4lt] {
        flex-direction: row;
    }

    .sidebar[b-dq3ipvg4lt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dq3ipvg4lt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dq3ipvg4lt]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dq3ipvg4lt], article[b-dq3ipvg4lt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dkochrwcbm] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dkochrwcbm] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dkochrwcbm] {
    font-size: 1.1rem;
}

.bi[b-dkochrwcbm] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-dkochrwcbm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-dkochrwcbm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-dkochrwcbm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-dkochrwcbm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dkochrwcbm] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dkochrwcbm] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dkochrwcbm]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-dkochrwcbm]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-dkochrwcbm]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dkochrwcbm] {
        display: none;
    }

    .collapse[b-dkochrwcbm] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-dkochrwcbm] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Sales/PrintInvoice.razor.rz.scp.css */
/* Scoped CSS for PrintInvoice.razor */

.invoice-container[b-wn91kswr5o] {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: white;
    padding: 40px;
}

/* Header */
.invoice-header[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.title-section h1[b-wn91kswr5o] {
    font-size: 2.5rem;
    /* Large "Invoice" text */
    font-weight: 700;
    color: #6a1b9a;
    /* Falling back to purple as per image, but let's change to Teal for Wallet theme? Plan said: "Replace Purples with Deep Teal" */
    color: #0f4c4c;
    /* Deep Teal */
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.paid-badge[b-wn91kswr5o] {
    background-color: #7cb342;
    /* Green from the "Paid" badge in image */
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
}

.invoice-meta[b-wn91kswr5o] {
    margin-top: 15px;
}

.meta-row[b-wn91kswr5o] {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

.meta-label[b-wn91kswr5o] {
    width: 100px;
    font-weight: 600;
    color: #666;
}

.meta-value[b-wn91kswr5o] {
    font-weight: 600;
    color: #333;
}

.company-logo h2[b-wn91kswr5o] {
    font-size: 3rem;
    font-weight: bold;
    color: #0f4c4c;
    /* Deep Teal Logo */
    margin: 0;
    letter-spacing: -2px;
}

/* Billing Section */
.billing-section[b-wn91kswr5o] {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.bill-box[b-wn91kswr5o] {
    flex: 1;
    background-color: #e0f2f1;
    /* Very Light Teal background similar to light purple in image */
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #0f4c4c;
    /* Deep Teal accent border */
}

.bill-title[b-wn91kswr5o] {
    color: #6a1b9a;
    /* Using purple for contrast or stick to theme? Let's use darker teal/gold */
    color: #0f4c4c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.bill-box p[b-wn91kswr5o] {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.ntn-text[b-wn91kswr5o] {
    margin-top: 8px;
    font-weight: 600;
}

/* Items Table */
.items-table[b-wn91kswr5o] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.items-table thead[b-wn91kswr5o] {
    background-color: #4db6ac;
    /* Typical teal accent */
    background-color: #5e35b1;
    /* Origin purple */
    background-color: #0f4c4c;
    /* Deep Teal header */
    color: white;
}

.items-table th[b-wn91kswr5o] {
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
}

.items-table th.text-right[b-wn91kswr5o] {
    text-align: right;
}

.items-table tbody tr[b-wn91kswr5o] {
    background-color: #fce4ec;
    /* Light pink/purple in original */
    background-color: #f2fcfc;
    /* Very light teal row background */
    border-bottom: 1px solid white;
}

.items-table td[b-wn91kswr5o] {
    padding: 12px 15px;
    vertical-align: top;
    color: #333;
}

.items-table td.text-right[b-wn91kswr5o] {
    text-align: right;
}

.items-table .item-desc[b-wn91kswr5o] {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Footer Section */
.footer-row[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.bank-details[b-wn91kswr5o] {
    flex: 1;
    margin-right: 40px;
    background-color: #e0f2f1;
    /* Light teal box */
    padding: 15px;
    border-radius: 8px;
}

.bank-title[b-wn91kswr5o] {
    color: #6a1b9a;
    color: #0f4c4c;
    font-weight: 600;
    margin-bottom: 10px;
}

.bank-row[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.totals-section[b-wn91kswr5o] {
    flex: 0 0 350px;
}

.total-row[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.grand-total[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    font-weight: 700;
    font-size: 1.2rem;
    padding-bottom: 5px;
}

.fbr-section[b-wn91kswr5o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

.fbr-logo img[b-wn91kswr5o] {
    height: 60px;
}

.qr-code img[b-wn91kswr5o] {
    height: 80px;
}

.terms-section[b-wn91kswr5o] {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.terms-title[b-wn91kswr5o] {
    color: #6a1b9a;
    color: #0f4c4c;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Print Overrides */
@media print {
    @page {
        margin: 0;
        size: auto;
    }

    body[b-wn91kswr5o] {
        background-color: white;
        -webkit-print-color-adjust: exact;
    }

    .invoice-container[b-wn91kswr5o] {
        width: 100%;
        max-width: none;
        padding: 20px;
    }

    .no-print[b-wn91kswr5o] {
        display: none !important;
    }
}
/* /Pages/Wallet.razor.rz.scp.css */
/* Scoped CSS for Wallet.razor */

.wallet-container[b-dvku3j02g3] {
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-bottom: 80px; /* Space for bottom nav if needed */
}

/* Header Section */
.wallet-header[b-dvku3j02g3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 16px;
}

.logo-section[b-dvku3j02g3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text h1[b-dvku3j02g3] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #0f4c4c; /* Deep teal */
    line-height: 1.2;
}

.arabic-text[b-dvku3j02g3] {
    font-size: 0.9rem;
    color: #0f4c4c;
    margin-bottom: 2px;
}

.subtitle[b-dvku3j02g3] {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.profile-img[b-dvku3j02g3] {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Balance Card */
.balance-card[b-dvku3j02g3] {
    background: linear-gradient(135deg, #135d5d 0%, #0a3d3d 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(10, 61, 61, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Decorative border inside the card */
.card-border[b-dvku3j02g3] {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #c5a065; /* Gold/Bronze color */
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.card-pattern-right[b-dvku3j02g3] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    /* Using a radial gradient to simulate the pattern bloom effect for now */
    background: radial-gradient(circle at center, rgba(197, 160, 101, 0.2) 0%, transparent 70%);
    z-index: 0;
}

/* Corner decorations for the card border */
.corner-tl[b-dvku3j02g3], .corner-tr[b-dvku3j02g3], .corner-bl[b-dvku3j02g3], .corner-br[b-dvku3j02g3] {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 3px solid #c5a065;
    z-index: 2;
}
.corner-tl[b-dvku3j02g3] { top: 8px; left: 8px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.corner-tr[b-dvku3j02g3] { top: 8px; right: 8px; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.corner-bl[b-dvku3j02g3] { bottom: 8px; left: 8px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.corner-br[b-dvku3j02g3] { bottom: 8px; right: 8px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }


.balance-content[b-dvku3j02g3] {
    position: relative;
    z-index: 2;
}

.balance-label[b-dvku3j02g3] {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 500;
}

.balance-amount[b-dvku3j02g3] {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.pkr-text[b-dvku3j02g3] {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.add-money-btn[b-dvku3j02g3] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.2s;
}

.add-money-btn:hover[b-dvku3j02g3] {
    background: rgba(255, 255, 255, 0.25);
}

/* Action Buttons */
.action-buttons[b-dvku3j02g3] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    margin-top: -50px; /* Overlap the card */
    padding: 0 10px;
}

.action-item[b-dvku3j02g3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.action-circle[b-dvku3j02g3] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0f4c4c; /* Dark background for buttons */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #c5a065; /* Gold icons */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 2px solid #c5a065;
    transition: transform 0.2s;
    cursor: pointer;
}

.action-circle:hover[b-dvku3j02g3] {
    transform: translateY(-2px);
}

.action-label[b-dvku3j02g3] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333; /* Dark text for contrast against light background */
}

/* Transactions List */
.transactions-section[b-dvku3j02g3] {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 20px; /* Ensure padding inside white area */
}

.section-title[b-dvku3j02g3] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.transaction-item[b-dvku3j02g3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.t-left[b-dvku3j02g3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-icon[b-dvku3j02g3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.t-icon-box[b-dvku3j02g3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0f2f1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00695c;
}

.t-info[b-dvku3j02g3] {
    display: flex;
    flex-direction: column;
}

.t-name[b-dvku3j02g3] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.t-sub[b-dvku3j02g3] {
    font-size: 0.8rem;
    color: #888;
}

.t-right[b-dvku3j02g3] {
    text-align: right;
    font-size: 0.85rem;
    color: #888;
}

/* Specific button icons override */
.action-circle.send-btn[b-dvku3j02g3] { background: #0f4c4c; }
