/* ==========================================================================
   Accounts & Financial Ledger Styles (Light Theme)
   ========================================================================== */

.accounts-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.account-balance-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.account-balance-card.bank-hdfc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0284c7;
}

.account-balance-card.sinking-fund::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #10b981;
}

.account-type-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.account-balance-amount {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Tabs */
.accounts-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.acc-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.acc-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--brand-primary);
}

.acc-tab-btn.active {
  color: #ffffff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* P&L & Balance Sheet Columns */
.financial-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.statement-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.statement-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.statement-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.86rem;
}

.statement-item-row:last-child {
  border-bottom: none;
}

.statement-item-row.total-row {
  border-top: 2px solid var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 8px;
  padding-top: 14px;
}

.currency-inr {
  font-family: var(--font-mono);
  font-weight: 600;
}
