@import url("../calculators-common.css");
@import url("../tables.css");

/* Summary Cards Container */
.summary-cards-container {
  display: grid;
  gap: 0.5rem;
}

/* Grids */
.calc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

/* Tenure Text */
.calc-tenure-text {
  text-align: center;
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  display: block;
  margin-top: 0.5rem;
  color: var(--page-text);
}

/* EMI Card - Blue (Primary) */
.summary-emi {
  border-left: 4px solid #3b82f6 !important;
}
.summary-text-emi {
  color: #3b82f6 !important;
}

/* Principal Card - Purple */
.summary-principal {
  border-left: 4px solid #a855f7 !important;
}
.summary-text-principal {
  color: #a855f7 !important;
}

/* Interest Card - Red */
.summary-interest {
  border-left: 4px solid #ef4444 !important;
}
.summary-text-interest {
  color: #ef4444 !important;
}

/* Total Payment Card - Green */
.summary-total {
  border-left: 4px solid #10b981 !important;
}
.summary-text-total {
  color: #10b981 !important;
}

.summary-icon {
  font-size: 1.875rem; /* text-3xl */
  line-height: 2.25rem;
}

.summary-label-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Charts */
.chart-container {
  width: 100%;
}
.chart-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  background-color: var(--card-bg);
}
.chart-title {
  margin-bottom: 1rem;
  font-weight: 700;
  display: block;
  font-size: 1.125rem;
}
