/* ===========================================
   Mindestgas-Rechner – Punkfish Optik
   =========================================== */

.mindestgas-tool {
  text-align: center;
  font-family: inherit;
}

/* Äußerer Container */
.mg-container {
  width: 100%;
  max-width: 420px;

  margin: 0 auto;
  padding: 20px 16px;

  border: 1px solid #ddd;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

  box-sizing: border-box;
}

/* Titel */
.mindestgas-tool h1 {
  color: #3b22a3;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Labels */
.mg-container label {
  display: block;
  text-align: center;
  margin: 10px 0 4px;
  font-size: 0.95rem;
  color: #444;
}

/* Eingabefelder – kompakt & hübsch */
.mg-container input {
  display: block;
  width: 100%;
  max-width: 220px;

  margin: 8px auto;
  padding: 8px 10px;

  text-align: center;
  font-size: 0.95rem;

  border-radius: 6px;
  border: 1px solid #bbb;
  box-sizing: border-box;
  background: #fff;

  transition: 0.2s ease;
}

/* Fokus */
.mg-container input:focus {
  border-color: #3b22a3;
  box-shadow: 0 0 0 2px rgba(59, 34, 163, 0.25);
  outline: none;
}

/* Pfeile ANLASSEN */
.mg-container input[type="number"] {
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

/* Block-Hintergrund (Soft Golden Mist) */
.mg-container {
  background: linear-gradient(
    135deg,
    rgba(255, 248, 220, 0.55) 0%,
    rgba(255, 252, 235, 0.75) 100%
  );
  border: 1px solid rgba(235, 220, 140, 0.35);
}

/* Button */
.mg-container button {
  display: block;

  width: 100%;
  max-width: 220px;

  margin: 18px auto 24px;
  padding: 10px 14px;

  background: #3b22a3;
  color: #fff;

  border: none;
  border-radius: 24px;

  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;

  transition: 0.2s ease;
}

.mg-container button:hover {
  background: #2c1b80;
  transform: translateY(-1px);
}

/* Ergebnis */
.mg-ergebnis {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b22a3;
  text-align: center;
  min-height: 26px;
  margin-bottom: 10px;
}

/* Datenschutzhinweis / Fußnote */
.mg-info {
  font-size: 0.8rem;
  color: #444;
  margin-top: 6px;
}

/* Mobil */
@media (max-width: 480px) {
  .mg-container {
    padding: 16px 10px;
    max-width: 100%;
  }

  .mg-container input,
  .mg-container button {
    max-width: 180px; /* etwas kompakter */
  }
}
