/* =========================================================
   Chart of Accounts
   ========================================================= */

.account-summary-card {
    min-height: 128px;
    border: 1px solid #e3e9ec;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.account-summary-card:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 160, 28, 0.35);
    box-shadow: 0 8px 24px rgba(27, 50, 65, 0.09);
}

.account-summary-label {
    margin-bottom: 8px;
    color: #71828d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-summary-value {
    color: #172b3a;
    font-size: 19px;
    font-weight: 700;
}

.account-summary-count {
    margin-top: 5px;
    color: #8796a0;
    font-size: 11px;
}

.account-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf8ea;
    color: #2ca01c;
    font-size: 16px;
}

.account-type-badge {
    display: inline-block;
    min-width: 74px;
    padding: 5px 9px;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.account-type-asset {
    background: #e8f3ff;
    color: #1769aa;
}

.account-type-liability {
    background: #fff0f0;
    color: #c53838;
}

.account-type-equity {
    background: #f2ebff;
    color: #6d42b5;
}

.account-type-income {
    background: #eaf8e7;
    color: #258319;
}

.account-type-expense {
    background: #fff4df;
    color: #b56c00;
}

.empty-state {
    max-width: 360px;
    margin: 0 auto;
    color: #81909a;
}

.empty-state > i {
    margin-bottom: 16px;
    color: #b8c3ca;
    font-size: 42px;
}

.empty-state h5 {
    color: #415461;
    font-weight: 700;
}

.empty-state p {
    margin-bottom: 18px;
    font-size: 13px;
}

/* =========================================================
   Chart of Accounts
   ========================================================= */

.account-summary-card {
    min-height: 128px;
    border: 1px solid #e3e9ec;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.account-summary-card:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 160, 28, 0.35);
    box-shadow: 0 8px 24px rgba(27, 50, 65, 0.09);
}

.account-summary-label {
    margin-bottom: 8px;
    color: #71828d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-summary-value {
    color: #172b3a;
    font-size: 19px;
    font-weight: 700;
}

.account-summary-count {
    margin-top: 5px;
    color: #8796a0;
    font-size: 11px;
}

.account-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf8ea;
    color: #2ca01c;
    font-size: 16px;
}

.account-type-badge {
    display: inline-block;
    min-width: 74px;
    padding: 5px 9px;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.account-type-asset {
    background: #e8f3ff;
    color: #1769aa;
}

.account-type-liability {
    background: #fff0f0;
    color: #c53838;
}

.account-type-equity {
    background: #f2ebff;
    color: #6d42b5;
}

.account-type-income {
    background: #eaf8e7;
    color: #258319;
}

.account-type-expense {
    background: #fff4df;
    color: #b56c00;
}

.empty-state {
    max-width: 360px;
    margin: 0 auto;
    color: #81909a;
}

.empty-state > i {
    margin-bottom: 16px;
    color: #b8c3ca;
    font-size: 42px;
}

.empty-state h5 {
    color: #415461;
    font-weight: 700;
}

.empty-state p {
    margin-bottom: 18px;
    font-size: 13px;
}

/* =========================================================
   General Ledger
   ========================================================= */

.ledger-summary-card {
    min-height: 112px;
    border: 1px solid #e3e9ec;
}

.ledger-summary-label {
    color: #71828d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ledger-summary-value {
    margin-top: 8px;
    color: #172b3a;
    font-size: 18px;
    font-weight: 700;
}

.ledger-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf8ea;
    color: #2ca01c;
}

.ledger-account-header {
    border: 0;
    background:
        linear-gradient(
            135deg,
            #123040 0%,
            #1e5066 100%
        );
    color: #ffffff;
}

.ledger-account-code {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ledger-account-name {
    margin: 4px 0 0;
    font-size: 24px;
    font-weight: 700;
}

.ledger-account-header .text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.ledger-closing-balance {
    margin-top: 3px;
    font-size: 28px;
    font-weight: 700;
}

.ledger-total-card {
    border: 1px solid #e4eaed;
}

.ledger-total-label {
    color: #748590;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ledger-total-value {
    margin-top: 7px;
    color: #172b3a;
    font-size: 19px;
    font-weight: 700;
}

.ledger-opening-row {
    background: #f4f8fa;
}

.ledger-opening-row td {
    border-top: 0;
    color: #536772;
}

/* =========================================================
   Trial Balance
   ========================================================= */

.trial-status-card {
    border: 1px solid #e3e9ec;
}

.trial-status-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-status-icon.balanced {
    background: #eaf8e7;
    color: #2ca01c;
}

.trial-status-icon.unbalanced {
    background: #fff1df;
    color: #e08a00;
}

.trial-status-label {
    color: #748590;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trial-status-value {
    margin-top: 3px;
    color: #172b3a;
    font-size: 16px;
    font-weight: 700;
}

.trial-status-difference {
    margin-top: 2px;
    color: #83929b;
    font-size: 11px;
}

.trial-type-card {
    border: 1px solid #e3e9ec;
}

.trial-type-title {
    color: #172b3a;
    font-size: 15px;
    font-weight: 700;
}

.trial-type-count {
    margin-top: 2px;
    color: #81909a;
    font-size: 11px;
}

.trial-type-side-label {
    color: #80909b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.trial-type-side-value {
    margin-top: 3px;
    color: #304653;
    font-size: 13px;
    font-weight: 700;
}

.trial-group-header {
    background: #f4f8fa;
    border-left: 1px solid #e0e7ea;
}

.trial-section-row td {
    padding-top: 9px;
    padding-bottom: 9px;
    background: #edf3f6;
    color: #536873;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bg-warning-light {
    background: #fff8e9;
}

/* =========================================================
   Accounting Periods
   ========================================================= */

.period-summary-card {
    border: 1px solid #e3e9ec;
}

.period-summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.period-summary-icon.open {
    background: #eaf8e7;
    color: #2ca01c;
}

.period-summary-icon.closed {
    background: #fff3df;
    color: #da8500;
}

.period-summary-icon.locked {
    background: #ffe8e8;
    color: #c93b3b;
}

.period-summary-label {
    color: #748590;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.period-summary-value {
    margin-top: 3px;
    color: #172b3a;
    font-size: 24px;
    font-weight: 700;
}

/* =========================================================
   Opening Balances
   ========================================================= */

.opening-summary-card {
    min-height: 120px;
    border: 1px solid #e3e9ec;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.opening-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(23, 43, 58, 0.08);
}

.opening-summary-label {
    color: #748590;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.opening-summary-count {
    margin-top: 4px;
    color: #172b3a;
    font-size: 25px;
    font-weight: 700;
}

.opening-summary-amount {
    margin-top: 2px;
    color: #748590;
    font-size: 12px;
    font-weight: 600;
}

.opening-summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf8ea;
    color: #2ca01c;
}


