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

/* Inner Container */
.calc-inner-container {
  margin-left: auto;
  margin-right: auto;
  padding: 0.25rem;
}

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

/* Summary Cards */
.summary-deposits {
  border-left: 4px solid #3b82f6 !important;
}
.summary-text-deposits {
  color: #3b82f6 !important;
}

.summary-maturity {
  border-left: 4px solid #10b981 !important;
}
.summary-text-maturity {
  color: #10b981 !important;
}

.summary-interest {
  border-left: 4px solid #a855f7 !important;
}
.summary-text-interest {
  color: #a855f7 !important;
}

/* Summary Card Icon */
.summary-card-icon {
  font-size: 1.875rem; /* 3xl */
  line-height: 2.25rem;
}

/* Charts */
.chart-section {
  width: 100%;
  min-height: 300px;
  background-color: var(--card-bg);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.chart-title {
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* Breakdown Title */
.breakdown-title {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.125rem; /* text-lg */
  color: #1f2937; /* gray-800 */
}

.dark .breakdown-title {
  color: #e5e7eb; /* gray-200 */
}

/* Result Table Text Utilities */
.table-text-right {
  text-align: right;
}

.table-text-bold {
  font-weight: 700;
}

.text-green-semantic {
  color: #16a34a; /* green-600 */
}
.dark .text-green-semantic {
  color: #4ade80; /* green-400 */
}
