.emi-container {
  background: #f1fff6;
  padding: 28px;
  border-radius: 18px;
  font-family: Inter, system-ui, sans-serif;
  max-width: 760px;
  margin: auto;
}

.emi-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.emi-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.emi-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1.5px solid #dfeee5;
  cursor: pointer;
  text-align: center;
}

.emi-card strong {
  display: block;
  font-size: 14px;
}

.emi-card span {
  font-size: 13px;
  color: #16a34a;
}

.emi-card.active {
  border-color: #16a34a;
}

.emi-label {
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 6px;
  display: block;
}

#emiAmountInput {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d1fae5;
  font-size: 18px;
  margin-bottom: 8px;
}

#emiRange {
  width: 100%;
  accent-color: #16a34a;
}

.emi-range-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 20px;
}

.emi-tenure,
.emi-interest {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.emi-tenure button,
.emi-interest button {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
      color: #111;
    border: 1.5px solid #00a63e;
  font-weight: 600;
}

.emi-tenure button.active,
.emi-interest button.active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.emi-result {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  text-align: center;
}

.emi-result span {
  font-size: 13px;
  color: #6b7280;
}

.emi-result strong {
  font-size: 20px;
  color: #16a34a;
}

.emi-note {
  background: #ecfdf3;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
}

.emi-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #d1fae5;
}

.emi-form button {
  width: 100%;
  padding: 16px;
  background: #16a34a;
  color: #fff;
  font-size: 16px;
  border-radius: 14px;
  border: none;
}

/* MOBILE */
@media(max-width:600px){
  .emi-result {
    grid-template-columns: 1fr;
  }
}

.emi-breakdown {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1.5px solid #d1fae5;
}

.emi-breakdown h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.emi-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.emi-row strong {
  font-weight: 600;
}

.emi-row.total {
  font-size: 16px;
}

.emi-row.total strong {
  color: #16a34a;
}

.emi-breakdown hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0;
}

.emi-apply-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #0aa84f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
