/* ================================
   WEBCAM EINKOMMENSRECHNER
   ================================ */

#cam-calculator {
  flex: 1;                    /* füllt die gesamte Höhe der Spalte */
}

#cam-calculator h2 {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
}

#cam-calculator .hint {
  text-align: center;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 25px;
}


.calculator-wrapper {
  display: flex;
  gap: 30px;                 /* Abstand zwischen Rechner und Text */
  justify-content: center;
  flex-wrap: wrap;           /* Auf kleinen Screens stapeln */
  margin: 40px 0;
  align-items: stretch;      /* <-- sorgt für gleiche Höhe beider Spalten */
}

.calculator-column {
  flex: 1 1 400px;           /* wächst bis 1 Teil des Containers, mindestens 400px */
  display: flex;              /* macht den inneren Rechner flexibel */
  flex-direction: column;     /* Stapelung des Rechners innerhalb der Spalte */
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  padding: 30px;
  
}

.text-column {
  flex: 1 1 300px;
  background: rgba(0,0,0,0.7);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;    /* optional: Text vertikal zentrieren */
}

.text-column h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.text-column p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ffffff
}

.field {
  margin-bottom: 16px;
  color: black;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

input,
select {
  width: 100%;
  padding: 12px 10px;
  font-size: 15px;

  border-radius: 6px;
  border: none;
  outline: none;
}

button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;

  font-size: 16px;
  font-weight: bold;

  background: #ff2f92;
  color: #fff;

  border: none;
  border-radius: 8px;
  cursor: pointer;

  transition: background 0.2s ease;
}

button:hover {
  background: #ff5aaa;
}

/* -------------------------
   Ergebnis-Ausgabe
   ------------------------- */
#result {
  margin-top: 22px;
  padding: 18px;

  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;

  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}

#result strong {
  font-size: 18px;
}

/* Große Zahlen für Minimum und Maximum */
#result .income-value {
  font-size: 2.5em;         /* deutlich größer */
  font-weight: bold;
  display: block;
  margin: 10px 0;
}

/* Minimum = rot */
#result .income-min {
  color: #e63946;
}

/* Maximum = blau */
#result .income-max {
  color: #457b9d;
}

/* Warnhinweis für wenige Videos */
#result .income-warning {
  color: #d90429;
  font-size: 1em;
  font-style: italic;
  margin-top: 5px;
  display: block;
}

/* Kleinere Zusatzinfo */
#result small {
  font-size: 0.9em;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  #cam-calculator {
    padding: 24px 18px;
  }
}

/* Responsive Anpassung für kleine Bildschirme */
@media (max-width: 992px) {
  .calculator-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .calculator-column, .text-column {
    flex: 1 1 100%;
  }
}
