/* ChartOfAccounts Module Styles */

.chart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.chart-header h2 {
    margin: 0;
    color: #2c3e50;
}

/* Account Tree */
.account-tree {
    font-size: 0.9rem;
}

.account-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.15s;
}

.account-row:hover {
    background: #e6fdf0;
}

.account-row.inactive {
    opacity: 0.5;
}

.account-toggle {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    font-size: 0.7rem;
    margin-right: 4px;
}

.account-name {
    flex: 1;
    font-weight: 500;
}

.account-name.has-children {
    font-weight: 600;
}

.account-number {
    width: 100px;
    color: #475569;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Account Type Badges */
.account-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-asset { background: #DBEAFE; color: #1D4ED8; }
.type-liability { background: #FEE2E2; color: #DC2626; }
.type-equity { background: #F3E8FF; color: #7C3AED; }
.type-revenue { background: #D1FAE5; color: #059669; }
.type-expense { background: #FEF3C7; color: #D97706; }
