/* Medigap ZIP to State Rate Finder 2025 - Widget Styles */
.medigap-zip-widget {
  background-color: #3fc1c9;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
}
.medigap-zip-headline {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  font-weight: 700;
  word-break: break-word;
}
.medigap-zip-input {
  font-size: 2rem;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.medigap-zip-button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #3fc1c9;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.medigap-zip-button:hover {
  background: #eaf7f8;
  color: #222;
}
.medigap-zip-above-text {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}
.medigap-zip-below-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 600px) {
  .medigap-zip-widget {
    padding: 1rem;
    border-radius: 10px;
  }
  .medigap-zip-headline {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .medigap-zip-input {
    font-size: 1.2rem;
    padding: 0.7rem;
    max-width: 100%;
  }
  .medigap-zip-button {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}

.medigap-zip-widget {
  width: 100%;
  max-width: 500px;
  min-width: 180px;
  margin: 0 auto;
  padding: 1.3em 0.7em;
  border-radius: 1.2em;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.09);
  background: #3fc7d2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.medigap-zip-headline {
  font-size: clamp(1.05rem, 2vw, 1.7rem); /* smaller min, max */
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.8em;
}

.medigap-zip-input {
  font-size: clamp(0.97rem, 1.2vw, 1.2rem);
  padding: 0.5em 0.7em;
  width: 100%;
  max-width: 275px;
  margin-bottom: 0.8em;
  border-radius: 0.5em;
  border: 1px solid #ccc;
}

.medigap-zip-button {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  padding: 0.5em 1em;
  border-radius: 0.8em;
  border: none;
  background: #fff;
  color: #3fc7d2;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  max-width: 210px;
  margin-bottom: 0.6em;
}
.medigap-zip-button:hover {
  background: #e0fbfc;
}

/* Info/disclaimer text */
.medigap-zip-above-text,
.medigap-zip-below-text {
  font-size: clamp(0.8rem, 0.95vw, 1rem);
  text-align: center;
  margin: 0.2em 0 0.2em 0;
  line-height: 1.3;
}

.sidebar .medigap-zip-widget {
  max-width: 100%;
  font-size: 0.92em; /* even smaller in sidebar */
  padding: 1em 0.5em;
}

@media (max-width: 480px) {
  .medigap-zip-widget {
    padding: 0.8em 0.2em;
  }
  .medigap-zip-headline {
    font-size: clamp(0.98rem, 3.5vw, 1.15rem);
  }
  .medigap-zip-input,
  .medigap-zip-button {
    font-size: clamp(0.88rem, 3vw, 1.05rem);
    max-width: 95vw;
  }
}
.sidebar .medigap-zip-widget,
#secondary .medigap-zip-widget {
  /* #secondary is a common WP sidebar id */
  max-width: 100%;
  font-size: 0.82em; /* go even smaller */
  padding: 0.7em 0.3em;
}
.sidebar .medigap-zip-headline,
#secondary .medigap-zip-headline {
  font-size: clamp(0.82rem, 1.2vw, 1.05rem);
}
.sidebar .medigap-zip-input,
#secondary .medigap-zip-input {
  font-size: clamp(0.8rem, 1vw, 1rem);
  max-width: 90%;
  padding: 0.4em 0.6em;
}
.sidebar .medigap-zip-button,
#secondary .medigap-zip-button {
  font-size: clamp(0.81rem, 1vw, 0.98rem);
  max-width: 90%;
  padding: 0.4em 0.6em;
}
.sidebar .medigap-zip-above-text,
.sidebar .medigap-zip-below-text,
#secondary .medigap-zip-above-text,
#secondary .medigap-zip-below-text {
  font-size: 0.78em;
}
