:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --debit-color: #e74c3c;
            --credit-color: #27ae60;
            --ledger-green: #1a6b1a;
            --ledger-blue: #2c5282;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
        }
 
        .ledger-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .ledger-table th {
            background-color: var(--ledger-blue);
            color: white;
            font-weight: 600;
            padding: 0.75rem 1rem;
            text-align: left;
            border-bottom: 2px solid var(--border-color);
        }
        .ledger-table td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid var(--border-color);
            vertical-align: top;
        }
        .ledger-table tr:last-child td {
            border-bottom: none;
        }
        .ledger-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .ledger-table tr:hover {
            background-color: rgba(44, 125, 160, 0.1);
        }
        .debit-cell {
            color: var(--debit-color);
            font-weight: 600;
        }
        .credit-cell {
            color: var(--credit-color);
            font-weight: 600;
        }
        .balance-cell {
            font-weight: 600;
            color: var(--ledger-blue);
        }
        .account-selector {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .account-list {
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 1rem;
            background-color: white;
        }
        .account-item {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .account-item:hover {
            background-color: rgba(44, 125, 160, 0.1);
        }
        .account-item.selected {
            background-color: rgba(44, 125, 160, 0.2);
            border-left: 3px solid var(--primary-color);
        }
        .account-item:last-child {
            border-bottom: none;
        }
        .account-code {
            font-family: 'Courier New', monospace;
            background-color: rgba(44, 125, 160, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            margin-right: 0.75rem;
            font-size: 0.9rem;
            min-width: 60px;
            text-align: center;
        }
        .ledger-box {
            background-color: rgba(28, 107, 26, 0.05);
            border-left: 3px solid var(--ledger-green);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            }
        .ledger-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        .import-export-container {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 6px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .account-type {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }
        .asset-type {
            background-color: rgba(52, 152, 219, 0.1);
            color: #2980b9;
        }
        .liability-type {
            background-color: rgba(231, 76, 60, 0.1);
            color: #c0392b;
        }
        .equity-type {
            background-color: rgba(155, 89, 182, 0.1);
            color: #8e44ad;
        }
        .revenue-type {
            background-color: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }
        .expense-type {
            background-color: rgba(243, 156, 18, 0.1);
            color: #f39c12;
        }
        .table-actions {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1rem;
            gap: 0.5rem;
        }
        .journal-entry {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 6px;
            padding: 1rem;
            margin-bottom: 1rem;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
        }
        .journal-entry:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .journal-date {
            font-weight: 600;
            color: var(--ledger-blue);
        }
        .journal-desc {
            margin-top: 0.5rem;
            color: var(--text-color);
        }
        .journal-details {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 0.75rem;
        }
        .journal-detail {
            display: flex;
            align-items: center;
        }
        .detail-label {
            font-weight: 600;
            margin-right: 0.5rem;
            color: var(--text-muted);
        }
        .download-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .download-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .ledger-report {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
        }
        .report-header {
            text-align: center;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--border-color);
            padding-bottom: 1rem;
        }
        .report-title {
            font-weight: 700;
            color: var(--ledger-blue);
            margin-bottom: 0.5rem;
        }
        .report-subtitle {
            color: var(--text-muted);
        }
        .report-date {
            color: var(--text-muted);
            font-style: italic;
        }
        .report-footer {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-muted);
        }
        .ledger-balance {
            font-size: 1.2rem;
            font-weight: 700;
            padding: 0.75rem;
            border-radius: 6px;
            margin-top: 1rem;
            text-align: center;
        }
        .positive-balance {
            background-color: rgba(39, 174, 96, 0.1);
            color: #27ae60;
            border: 1px solid rgba(39, 174, 96, 0.2);
        }
        .negative-balance {
            background-color: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.2);
        }
        .zero-balance {
            background-color: rgba(52, 152, 219, 0.1);
            color: #3498db;
            border: 1px solid rgba(52, 152, 219, 0.2);
        }
        .transaction-row {
            transition: all 0.3s;
        }
        .transaction-row.editing {
            background-color: rgba(255, 235, 59, 0.2);
        }
        .keyboard-hint {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }
        .account-summary {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .account-summary-card {
            flex: 1;
            min-width: 200px;
            background: white;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            text-align: center;
        }
        .account-summary-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .account-summary-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .template-options {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .template-preview {
            border: 2px dashed var(--border-color);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            background-color: white;
            margin-top: 1.5rem;
        }
        .template-preview h4 {
            color: var(--ledger-blue);
            margin-bottom: 1rem;
        }
        .transactions-panel {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            max-height: 300px;
            overflow-y: auto;
        }
        .transaction-item {
            display: flex;
            align-items: center;
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
            background-color: white;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }
        .transaction-item:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .transaction-info {
            flex: 1;
        }
        .transaction-actions {
            display: flex;
            gap: 0.5rem;
        }
        .transaction-date {
            font-weight: 600;
            color: var(--ledger-blue);
        }
        .transaction-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .transaction-amount {
            font-weight: 600;
        }
        .transaction-debit {
            color: var(--debit-color);
        }
        .transaction-credit {
            color: var(--credit-color);
        }
        .accounting-format {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }
        .accounting-dr {
            color: var(--debit-color);
        }
        .accounting-cr {
            color: var(--credit-color);
        }