#vermoegenChartContainer {
  position: relative;
}
.chart-kpi-box {
  background: rgba(39,37,37,0.95);
  color: #fff;
  font-size: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  border: 2px solid #ffc107;
  margin: 0.1rem auto 1rem auto;
  width: fit-content;
}
.form-control:focus {
  background: #444;
  color: #fff;
}
.form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
  outline: none;
}
/* Allgemeine Stile */
body {
  font-family: "Space Mono", monospace;
  min-height: 100vh;
  background: linear-gradient(90deg, #272525 0%, #454046 50%, #272525 100%);
  color: #fff;
}

/* Eingabebereich mit Rahmen, Schatten und runden Ecken */
.input-wrapper {
  border: 2px solid #454046; /* Dunkler Rahmen */
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  padding: 10px;
  background: rgba(39, 37, 37, 0.95);
  margin-bottom: 20px;
}

/* Eingabecontainer */
.input_container {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 20px auto;
  gap: 15px;
}

.input_row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
}

.form-label {
  flex: 0 0 30%;
  text-align: right;
  font-size: 13px; /* Optional: Schriftgröße anpassen */
  margin-bottom: 2px;
}

.form-control {
  flex: 0 0 30%;
  height: 30px;
  font-size: 16px;
  padding: 5px 10px;
  background: #2d2d2d;
  color: #fff;
}

/* Simulationsbutton */
#simulateButton {
  display: block;
  margin: 10px auto;
  width: 50%;
  background: #ffc107;
  color: #272525;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, color 0.2s;
}
#simulateButton:hover {
  background: #e0a800;
  color: #fdfcfcff;
}

/* Chart Container */
.chart_container {
  display: flex;
  flex-direction: column; /* Vertikale Anordnung */
  align-items: center; /* Zentriert die Charts horizontal */
  justify-content: center; /* Zentriert die Charts vertikal */
  gap: 15px; /* Abstand zwischen den Charts */
  height: auto; /* Höhe automatisch anpassen */
}

/* Einzelne Chart-Container */
#vermoegenChartContainer,
#bezugDataChartContainer {
  display: flex;
  justify-content: center; /* Zentriert den Canvas */
  align-items: center;
  flex-grow: 1; /* Charts können wachsen */
}

canvas {
  max-width: 80%;
  height: 70vh; /* Standardhöhe: 50% der Viewport-Höhe */
}

/* Wachstum Zusammenfassung */
/* .growth_summary {
  text-align: center;
} */

@media (max-width: 786px) {
  body {
    font-size: 10px;
  }

  #titel {
    font-size: 14px;
    color: #ffc107 !important;
  }

  .input_container .row {
    flex-direction: column;
    width: 100%;
  }

  .input_row {
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    gap: 2px;
  }

  .col-md-6 {
    width: 100%;
  }

  .form-label {
    width: 100%;
    text-align: left;
  }

  .form-control {
    width: 100%;
  }

  .form-label,
  .form-control {
    font-size: 10px;
  }

  /* #simulateButton {
    display: none; /* Versteckt den Button */
}
*/ .chart_container {
  margin-top: 50px;
  height: 40vh; /* Gesamte Höhe des Viewports */
  gap: 10px; /* Abstand zwischen den Charts */
}

#vermoegenChartContainer,
#bezugDataChartContainer {
  width: 100%; /* Volle Breite */
}

canvas {
  max-width: 100%;
  height: 100%; /* Canvas passt sich an die Höhe der Container an */
}

#wachstumProzent,
#volatilitaet,
#totalDividendsCashflow {
  font-size: 10px;
#wachstumProzent,
#volatilitaet,
#totalDividendsCashflow {
  font-size: 10px;
  margin-bottom: 0;
}
