/* Simple Accounting System - Custom styles */
:root {
    --sidebar-width: 220px;
    --header-height: 56px;
}

body {
    font-size: 0.95rem;
}

.app-header {
    background: #2c3e50;
    color: #fff;
    height: var(--header-height);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.app-header .navbar-brand {
    font-weight: 600;
}

.sidebar {
    width: var(--sidebar-width);
    min-height: calc(100vh - var(--header-height));
    background: #34495e;
    padding-top: 0.5rem;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin: 0 0.5rem;
}

.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.sidebar .nav-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    padding: 0.75rem 1rem 0.25rem;
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    background: #f8f9fa;
}

.table th {
    font-weight: 600;
    white-space: nowrap;
}

.amount-debit { text-align: right; }
.amount-credit { text-align: right; }
.amount-total { text-align: right; font-weight: 600; }

.report-box {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.report-box h5, .report-box h6 {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.no-print { }
@media print {
    .sidebar, .app-header .btn, .no-print, .breadcrumb { display: none !important; }
    .main-content { padding: 0; }
    body { background: #fff; }
}

.card { border: 1px solid #e9ecef; }

.account-type-Asset { color: #0d6efd; }
.account-type-Liability { color: #198754; }
.account-type-Equity { color: #6f42c1; }
.account-type-Income { color: #0dcaf0; }
.account-type-Expense { color: #fd7e14; }
