*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mm-rc-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Source Sans 3', sans-serif;
  color: #333333;
}

.mm-rc-card {
  background: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

/* ── 2-COLUMN INPUT GRID ── */
.mm-rc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mm-rc-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-rc-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E5E5E5;
}

.mm-rc-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.mm-rc-badge-1 {
  background: #003A70;
}

.mm-rc-badge-2 {
  background: #105FA8;
}

.mm-rc-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003A70;
}

.mm-rc-field-group {
  display: flex;
  flex-direction: column;
}

.mm-rc-field-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444444;
  margin-bottom: 6px;
}

.mm-rc-input-box {
  display: flex;
  align-items: center;
  border: 1px solid #BABABA;
  border-radius: 6px;
  padding: 7px 10px;
  background: #ffffff;
  height: 40px;
  max-height: 40px;
}

.mm-rc-input-box .mm-rc-prefix {
  color: #5D5D5D;
  margin-right: 4px;
  font-size: 14px;
}

.mm-rc-input-box input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: transparent;
  color: #5D5D5D;
  font-weight: 600;
}

.mm-rc-input-box .mm-rc-suffix {
  color: #5D5D5D;
  margin-left: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.mm-rc-duo-row {
  display: flex;
  gap: 8px;
}

.mm-rc-select {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #BABABA;
  border-radius: 6px;
  padding: 7px 32px 7px 10px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  cursor: pointer;
  color: #5D5D5D;
  height: 40px;
  max-height: 40px;
  width: 100%;
  font-weight: 600;
}

.mm-rc-select:focus {
  outline: 2px solid #003A70;
}

/* ── SLIDERS ── */
.mm-rc-slider-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: #5D5D5D;
}

.mm-rc-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, #105FA8 var(--pct, 50%), #ccc var(--pct, 50%));
}

.mm-rc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #105FA8;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.mm-rc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #105FA8;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

/* ── SAVINGS BANNER ── */
.mm-rc-savings-banner {
  background: #F4F9FC;
  border: 1px solid #D0E4F5;
  border-radius: 12px;
  padding: 18px 24px;
}

.mm-rc-banner-title {
  font-size: 1rem;
  font-weight: 700;
  color: #003A70;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.mm-rc-banner-metrics {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mm-rc-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mm-rc-metric-label {
  font-size: 13px;
  color: #5D5D5D;
  font-weight: 600;
}

.mm-rc-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003A70;
}

/* ── 2-COLUMN RESULTS GRID ── */
.mm-rc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mm-rc-result-card {
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-rc-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E5E5;
}

.mm-rc-result-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003A70;
}

.mm-rc-piti-block {
  background: #003A70;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}

.mm-rc-piti-block-2 {
  background: #105FA8;
}

.mm-rc-piti-label {
  font-size: 13px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-rc-piti-amount {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin: 4px 0;
}

.mm-rc-piti-amount sup {
  font-size: 24px;
  vertical-align: super;
}

.mm-rc-piti-sub {
  font-size: 13px;
  opacity: 0.9;
}

.mm-rc-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #E5E5E5;
}

.mm-rc-detail-row:last-child {
  border-bottom: none;
}

.mm-rc-dl {
  color: #555555;
}

.mm-rc-dv {
  font-weight: 600;
  color: #222222;
}

.mm-rc-highlight-row {
  font-weight: 700;
  color: #003A70;
}

.mm-rc-highlight-row .mm-rc-dv {
  font-size: 16px;
  color: #003A70;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .mm-rc-two-col,
  .mm-rc-results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mm-rc-banner-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mm-rc-metric-item {
    align-items: flex-start;
  }
}
