/* ============================================================
   SIP CALCULATOR — FINAL CLEAN & CONSOLIDATED CSS
   Premium Summary • 25/75 Layout • EMI Table
============================================================ */


/* ===========================
   SUMMARY + CHART LAYOUT
=========================== */
.summary-chart-container {
  display: grid;
  grid-template-columns: 0.25fr 0.75fr;  
  gap: 20px;
  margin-top: 18px;
}


/* ===========================
   LEFT — SUMMARY CARD
=========================== */
/* .summary-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

.summary-big {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
} */

/* Vertical summary rows */
/* .summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.summary-row span {
  font-size: 12px;
  color: #666;
}

.summary-row strong {
  font-size: 16px;
  font-weight: 700;
  color: #111;
} */


/* ===========================
   RIGHT — CHART CARD
=========================== */
/* .chart-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.chart-title {
  font-size: 16px;
  color: #444;
  font-weight: 600;
  margin-bottom: 12px;
} */

/* Chart size */
/* .chart-card canvas {
  width: 100% !important;
  height: 300px !important;
  display: block !important;
} */


/* ===========================
   RESPONSIVE (Mobile)
=========================== */
/* @media (max-width: 850px) {
  .summary-chart-container {
    grid-template-columns: 1fr !important;
  }

  .chart-card canvas {
    height: 220px !important;
  }
} */


/* ============================================================
   EMI-STYLE EXPANDABLE TABLE
============================================================ */
/* 
.year-col {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.expand {
  font-weight: 700;
  font-size: 15px;
  padding: 0 6px;
  background: #eef2ff;
  border-radius: 4px;
  cursor: pointer;
}

.monthly-row td:first-child {
  padding-left: 32px !important;
  font-weight: 500;
  color: #444;
}

.monthly-row td {
  background: #fafafa;
}

.monthly-row {
  display: none;
}

.year-row:hover td {
  background: #f8f8f8;
}


/* Mobile table padding */
/* @media (max-width: 600px) {
  .yearly-table td,
  .yearly-table th {
    padding: 10px;
  } */
} */


/* ============================================================
   SINGLE PREMIUM WRAPPER FOR SUMMARY + CHART (NO HTML CHANGE)
============================================================ */

/* Make the outer container the card */
.summary-chart-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 0.25fr 0.75fr;  /* Summary left, chart right */
  gap: 24px;
  margin-top: 20px;
}

/* Remove individual card borders — they blend inside parent */
.summary-card,
.chart-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ---------- LEFT (SUMMARY) ---------- */

.summary-title {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.summary-big {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.summary-row span {
  font-size: 12px;
  color: #666;
}

.summary-row strong {
  font-size: 16px;
  font-weight: 700;
}

/* ---------- RIGHT (CHART) ---------- */

.chart-title {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
}

/* Chart size */
.chart-card canvas {
  width: 100% !important;
  height: 280px !important;
}

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 850px) {
  .summary-chart-container {
    grid-template-columns: 1fr;
  }
  .chart-card canvas {
    height: 220px !important;
  }
}
