/* Medigap OEP Calculator styles (match other calculators) */
.mg-card {
  max-width: 920px;
  margin: 24px auto;
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #fff;
  color: #222;
  box-sizing: border-box;
}

.mg-card h2 {
  margin: 0 0 24px 0;
  font-size: 35px;
  line-height: 1.1;
}

.mg-card p.lead {
  margin: 0 0 12px 0;
  color: #444;
  font-size: 17px;
}

/* Make the "Are you age 65 or older?" label larger and bold */
.mg-row label[for="mg-age"] {
  font-size: 22px;   /* increase size — adjust value as needed */
  font-weight: 700;  /* bold */
  color: #2b2b2b;
  margin-bottom: 8px;
  display: block;
}

/* Scale the native checkbox */
#mg-age {
  transform: scale(1.4);      /* increase size (1.0 = default). Adjust as needed */
  transform-origin: top left; /* keeps positioning predictable */
  margin-right: 8px;          /* spacing from label text */
  vertical-align: middle;
}

/* Make the Part B date label match the emphasized size/weight */
.mg-row label[for="mg-date"] {
  font-size: 20px;   /* match the IEP emphasis (change if you used a different value) */
  font-weight: 700;
  color: #2b2b2b;
  display: block;
  margin-bottom: 8px;
  line-height: 1.05;
}

.mg-row { margin-bottom: 14px; }
.mg-row label { display:block; margin-bottom:6px; font-size:17px; color:#2b2b2b; }

/* Date input */
.mg-triple input[type="date"] {
  width: 100%;
  padding: 10px;
  font-size: 17px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Actions */
.mg-actions { display:flex; gap:10px; margin-top: 16px; }
.mg-card button {
  background: #0073aa;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 17px;
}
.mg-card button.secondary { background: #e9e9e9; color: #222; }

/* Result box */
.mg-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  background: #f7f9fb;
  border: 1px solid #e6eef6;
  font-size: 17px;
  display: none;
}

.mg-result-label { font-size: 22px; font-weight:600; color:#222; margin-bottom:8px; }
.mg-range { font-size: 22px; font-weight:600; color:#222; margin-bottom:8px; }
.mg-start { color: #0073aa; font-weight: 600; }
.mg-end { color: #b00020; font-weight: 600; }

.mg-small { font-size:15px; color:#444; margin-top:8px; }
.mg-error { color:#b00020; font-size:15px; margin-top:8px; display:none; }

@media (max-width:640px) {
  .mg-card { padding:12px; }
  .mg-card h2 { font-size:26px; }
}
