/* /Area/Sales/AddInvoice.razor.rz.scp.css */





/* Container */
.ledger-container[b-8w2shaxhp0] {
  
}

/* Summary */
.ledger-summary[b-8w2shaxhp0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 16px;
    background-color: #f9f9f9;
/*    border: 1px solid #e5e7eb;
    border: 1px solid #edf0f2;*/
    border: 1px solid #e2e8f0;
}

.summary-item span[b-8w2shaxhp0] {
    font-size: 0.75rem;
    color: #6c757d;
}

.summary-item h5[b-8w2shaxhp0] {
    margin: 0;
    font-weight: 700;
}

.summary-divider[b-8w2shaxhp0] {
    width: 1px;
    height: 30px;
    background: #e5e7eb;
}

/* Table Wrapper */
.ledger-table-wrapper[b-8w2shaxhp0] {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

/* Table */
.ledger-table[b-8w2shaxhp0] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    /* Header */
    .ledger-table thead[b-8w2shaxhp0] {
        position: sticky;
        top: 0;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(8px);
        z-index: 2;
    }

    .ledger-table th[b-8w2shaxhp0] {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #6b7280;
        padding: 12px;
        border-bottom: 1px solid #f1f3f5;
    }

    /* Rows */
    .ledger-table td[b-8w2shaxhp0] {
        padding: 12px;
        border-bottom: 1px solid #f5f5f5;
        font-size: 0.9rem;
    }

    .ledger-table tbody tr[b-8w2shaxhp0] {
        transition: all 0.2s ease;
    }

        .ledger-table tbody tr:hover[b-8w2shaxhp0] {
            background: #f9fafb;
            transform: scale(1.001);
        }

/* Date */
.date-cell[b-8w2shaxhp0] {
    font-weight: 600;
}

    .date-cell small[b-8w2shaxhp0] {
        display: block;
        font-size: 0.7rem;
        color: #9ca3af;
    }

/* Description */
.desc[b-8w2shaxhp0] {
    color: #374151;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Debit / Credit */
.debit[b-8w2shaxhp0] {
    color: #ef4444;
    font-weight: 600;
}

.credit[b-8w2shaxhp0] {
    color: #10b981;
    font-weight: 600;
}

/* Balance */
.balance[b-8w2shaxhp0] {
    font-weight: 700;
}

    .balance.pos[b-8w2shaxhp0] {
        color: #dc2626; /* Dr */
    }

    .balance.neg[b-8w2shaxhp0] {
        color: #059669; /* Cr */
    }

    .balance small[b-8w2shaxhp0] {
        display: block;
        font-size: 0.7rem;
        opacity: 0.7;
    }

/* Scrollbar */
.ledger-table-wrapper[b-8w2shaxhp0]::-webkit-scrollbar {
    width: 6px;
}

.ledger-table-wrapper[b-8w2shaxhp0]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}
/* /Layout/HeaderMenu.razor.rz.scp.css */
.topbar[b-09plmbot3r] {
    --bg-color: #2147b9;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --text-color: #fff;
    --icon-hover: #cce0ff;
    --dropdown-bg: #f9f9f9; /* light dropdown */
    --dropdown-text: #333;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-color);
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    align-items: center;
    color: var(--text-color);
    padding: 0 20px;
    z-index: 1000;
    justify-content: space-between;
}

/* Left side flex */
.left-side[b-09plmbot3r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar[b-09plmbot3r] {
    font-size: 1.6rem; /* lighter than before */
    cursor: pointer;
}

.logo[b-09plmbot3r] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    gap: 6px;
}

/* Right side flex */
.right-side[b-09plmbot3r] {
    display: flex;
    align-items: center;
    gap: 14px;
}
/* Icon circle for large screen */
.icon-circle[b-09plmbot3r] {
    width: 38px;
    height: 38px;
  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* Icon color inside circle */
    font-size: 1.2rem;
    transition: all 0.2s;
}

    .icon-circle:hover[b-09plmbot3r] {
        background: #e6f0ff;
        color: #2147b9;
    }

/* Space between icon circles */
.right-side .icon[b-09plmbot3r] {
    margin-left: 12px;
}

/* Dropdown stays relative to circle */
.icon.dropdown .dropdown-content[b-09plmbot3r] {
    right: 0;
    top: 100%;
}

/* Mobile view: remove circle to save space */
@media (max-width: 768px) {
    .icon-circle[b-09plmbot3r] {
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 0;
    }

    .right-side .icon[b-09plmbot3r] {
        margin-left: 8px;
    }
}
.icon[b-09plmbot3r] {
    position: relative;
    font-size: 1.3rem;
    cursor: pointer;
    font-weight:500;
    transition: color 0.2s;
}

    .icon:hover[b-09plmbot3r] {
        color: var(--icon-hover);
    }

/* Dropdown content */
.dropdown-content[b-09plmbot3r] {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--dropdown-bg);
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    color: var(--dropdown-text);
}

.icon.dropdown:hover .dropdown-content[b-09plmbot3r] {
    display: block;
}

/* Dropdown Header */
.dropdown-header[b-09plmbot3r] {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.mark-read[b-09plmbot3r] {
    font-size: 0.75rem;
    color: #555;
    cursor: pointer;
}

    .mark-read:hover[b-09plmbot3r] {
        text-decoration: underline;
    }

/* Dropdown List */
.dropdown-list[b-09plmbot3r] {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item[b-09plmbot3r] {
    display: flex;
    padding: 8px 12px;
    gap: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.15s;
}

    .dropdown-item:hover[b-09plmbot3r] {
        background: #e6f0ff;
    }

.avatar[b-09plmbot3r] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.item-content[b-09plmbot3r] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.85rem;
}

.item-title[b-09plmbot3r] {
    font-weight: 500;
    margin-bottom: 2px;
    color: #000;
}

.item-sender[b-09plmbot3r] {
    font-size: 0.75rem;
    color: #555;
}

.item-time[b-09plmbot3r] {
    font-size: 0.7rem;
    color: #888;
}

/* Dropdown Footer */
.dropdown-footer[b-09plmbot3r] {
    padding: 8px 14px;
    text-align: center;
    font-size: 0.8rem;
    background-color: #f0f0f0;
}

    .dropdown-footer a[b-09plmbot3r] {
        color: #2147b9;
        text-decoration: none;
        font-weight: 500;
    }

        .dropdown-footer a:hover[b-09plmbot3r] {
            text-decoration: underline;
        }

/* Logout */
.logout[b-09plmbot3r] {
    font-size: 1.3rem;
    color: var(--text-color);
}

/* Responsive: small screens */
@media (max-width: 768px) {
    .left-side[b-09plmbot3r] {
        gap: 8px;
    }

    .logo[b-09plmbot3r] {
        font-size: 0.95rem;
    }

    .bar[b-09plmbot3r], .icon[b-09plmbot3r] {
        font-size: 1.2rem;
    }

    .right-side[b-09plmbot3r] {
        gap: 10px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
