/* Muhasebe ana ekranı: daha kısa, banka bazlı renkli ve okunaklı düzen. */
.accounting-dashboard-page {
  display: grid;
  gap: 10px;
}

.accounting-dashboard-page > .section-gap,
.accounting-dashboard-page .section-gap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.accounting-dashboard-page .stage91-heading {
  min-height: 0;
  margin-bottom: 0;
  padding: 15px 18px !important;
  border-radius: 16px;
}

.accounting-dashboard-page .stage91-heading h1 {
  margin: 2px 0 3px;
  font-size: clamp(28px, 2.4vw, 38px);
}

.accounting-dashboard-page .stage91-heading p {
  margin: 0;
  font-size: 12px;
}

.accounting-dashboard-page .heading-actions {
  gap: 7px;
}

.accounting-dashboard-page .heading-actions a {
  min-height: 36px;
  padding: 8px 11px !important;
  font-size: 11px;
}

.accounting-dashboard-page .stage92-rate-bar {
  margin: 0;
  padding: 11px 14px;
  border-radius: 13px;
}

.accounting-dashboard-page .stage92-rate-bar strong {
  font-size: 13px;
}

.accounting-dashboard-page .stage92-rate-bar button {
  padding: 7px 11px;
  font-size: 11px;
}

.accounting-dashboard-page .bank-rate-source-grid {
  gap: 8px;
  margin: 0;
}

.accounting-dashboard-page .bank-rate-source {
  min-height: 74px;
  padding: 10px 12px;
  border-left-width: 4px;
  box-shadow: 0 4px 11px rgba(16, 55, 70, .05);
}

.accounting-dashboard-page .bank-rate-source[data-provider="tcmb"] {
  border-color: #4d83b3;
  background: linear-gradient(135deg, #eaf4ff, #fff);
}

.accounting-dashboard-page .bank-rate-source[data-provider="kuveyt"] {
  border-color: #b28a29;
  background: linear-gradient(135deg, #fff5d9, #fff);
}

.accounting-dashboard-page .bank-rate-source[data-provider="ziraat"] {
  border-color: #bb3f4c;
  background: linear-gradient(135deg, #ffeaed, #fff);
}

.accounting-dashboard-page .bank-rate-source[data-provider="albaraka"] {
  border-color: #168464;
  background: linear-gradient(135deg, #e6f8ef, #fff);
}

.accounting-dashboard-page .bank-rate-source.fallback {
  background: linear-gradient(135deg, #fff4d8, #fffaf0) !important;
}

.accounting-dashboard-page .stage9-money-grid {
  gap: 8px;
}

.accounting-dashboard-page .stage9-money-grid > article {
  min-height: 88px;
  padding: 11px 13px;
  border-radius: 13px;
}

.accounting-dashboard-page .stage9-money-grid strong {
  margin: 3px 0;
  font-size: 21px;
}

.accounting-dashboard-page .stage9-money-grid span {
  font-size: 11px;
}

.accounting-dashboard-page .stage112-accounting-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px !important;
  align-items: stretch;
}

.accounting-dashboard-page .stage112-accounting-groups .stage91-account-group {
  min-height: 104px !important;
  height: 100%;
  padding: 9px 10px !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 8px !important;
  border-radius: 13px !important;
}

.accounting-dashboard-page .stage112-accounting-groups .stage91-account-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
}

.accounting-dashboard-page .stage112-accounting-groups h2 {
  margin: 0 0 2px !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.accounting-dashboard-page .stage112-accounting-groups p {
  min-height: 0 !important;
  margin: 0 0 5px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.accounting-dashboard-page .stage112-accounting-groups .stage91-sub-links {
  margin-top: 3px !important;
  gap: 4px !important;
}

.accounting-dashboard-page .stage112-accounting-groups .stage91-sub-links a {
  min-height: 26px !important;
  padding: 4px 6px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

.accounting-dashboard-page .panel-card {
  padding: 13px 15px;
  border-radius: 15px;
}

.accounting-dashboard-page .panel-heading {
  margin-bottom: 9px;
}

.accounting-dashboard-page .panel-heading h2 {
  margin: 2px 0 0;
  font-size: 18px;
}

.accounting-dashboard-page .account-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.accounting-dashboard-page .account-visual-card {
  min-height: 118px;
  padding: 12px 13px;
  border-top: 4px solid #53849a !important;
  border-left: 5px solid #53849a !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef6f8, #fff) !important;
  box-shadow: 0 4px 12px rgba(16, 55, 70, .05) !important;
}

.accounting-dashboard-page .account-visual-card[data-company*="revan"] {
  border-top-color: #144f66 !important;
}

.accounting-dashboard-page .account-visual-card[data-company*="nurlu"] {
  border-top-color: #1d8265 !important;
}

.accounting-dashboard-page .account-card-heading {
  position: relative;
  padding-top: 2px;
}

.accounting-dashboard-page .account-card-heading > small {
  display: inline-block;
  margin-bottom: 5px;
  color: #3b5e70 !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.accounting-dashboard-page .account-company-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 6px 4px 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: #144f66;
  color: #fff !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.accounting-dashboard-page .account-visual-card[data-company*="nurlu"] .account-company-badge {
  background: #1d8265;
  color: #fff9df !important;
}

.accounting-dashboard-page .account-visual-card[data-account-name*="kuveyt"] {
  border-left-color: #b28a29 !important;
  background: linear-gradient(135deg, #fff4cf, #fff) !important;
}

.accounting-dashboard-page .account-visual-card[data-account-name*="albaraka"] {
  border-left-color: #178460 !important;
  background: linear-gradient(135deg, #e3f7ed, #fff) !important;
}

.accounting-dashboard-page .account-visual-card[data-account-name*="ziraat"] {
  border-left-color: #bd3e4c !important;
  background: linear-gradient(135deg, #ffe5e9, #fff) !important;
}

.accounting-dashboard-page .account-visual-card[data-account-name*="enpara"] {
  border-left-color: #7654aa !important;
  background: linear-gradient(135deg, #f0e9fb, #fff) !important;
}

.accounting-dashboard-page .account-visual-card[data-account-type="cash"] {
  border-left-color: #2477a3 !important;
  background: linear-gradient(135deg, #e4f3fb, #fff) !important;
}

.accounting-dashboard-page .account-visual-card h3 {
  margin: 1px 0 10px;
  color: #0b3046 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.accounting-dashboard-page .account-currencies {
  gap: 4px;
}

.accounting-dashboard-page .account-currencies div {
  padding: 5px 6px;
  background: rgba(255, 255, 255, .72) !important;
  border: 1px solid rgba(55, 91, 104, .09);
}

.accounting-dashboard-page .account-currencies strong {
  font-size: 11px;
}

.accounting-dashboard-page .accounting-summary-row {
  gap: 10px;
  align-items: start;
}

.accounting-dashboard-page .receivable-cards > div {
  padding: 8px;
}

.accounting-dashboard-page .ledger-mini-row {
  padding: 7px 0;
}

@media (max-width: 1180px) {
  .accounting-dashboard-page .account-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .accounting-dashboard-page .stage112-accounting-groups,
  .accounting-dashboard-page .account-card-grid,
  .accounting-dashboard-page .accounting-summary-row {
    grid-template-columns: 1fr !important;
  }

  .accounting-dashboard-page .stage92-rate-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
