body {
    background: linear-gradient(90deg, rgba(148,210,189,1) 0%, rgba(148,210,189,1) 50%, rgba(52,160,164,1) 100%);
}

.output, h5, h2, h1 {
    color: darkcyan;
}

.custom-hr {
    width: 50%;
    border-width: 3px;
    height: 5px;
    margin: auto;
    border-color: darkcyan;
}

table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

table th, table td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

table thead th {
    padding: 20px;
    line-height: 1.5;
    font-size: 0.8rem;
    background-color: #f8f9fa;
}

table td {
    font-size: 0.85rem;
}

.card-header {
    border: none;
}

.valuecard-header {
    margin-bottom: 0;
    font-size: clamp(0.2em, 4vw, 1em);
    color: black;
}

.valuecard-value {
    margin-bottom: 0;
    font-size: clamp(1em, 2vw, 2em);
    font-weight: bold;
    color: darkcyan;
}

.valuecard-unit {
    margin-bottom: 0;
    font-size: clamp(0.5em, 4vw, 1em);
    color: black;
}

.valuecard-header_fitting {
    margin-bottom: 0;
    font-size: 1em;
    color: black;
}

.valuecard-value_fitting {
    margin-bottom: 0;
    font-size: 1.1em;
    color: darkcyan;
}

.clickable-div {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    background-color: #bdd14a;
    cursor: pointer;
    transition: background-color 0.3s;
}

.clickable-div:hover {
    background-color: #f0f0f0;
}

.clickable-div a {
    text-decoration: none;
    color: #333;
}

.custom-btn {
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 10px;
}

.dashboard-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dashboard-card-link .dashboard-card {
    height: 100%;
}

.dashboard-card {
    height: 100px;
}

.dashboard-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 10px;
}

.dashboard-card .btn {
    margin-top: auto;
}

/* Chart styles */
#geometryChart, #handlebarPositionChart {
    background-color: white;
}

.charts-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.chart-wrapper {
    width: 48%;
    margin-bottom: 20px;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-wrapper {
        width: 100%;
    }
}

.geometry-points-chart-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 800px;
    margin: 0 auto;
}

.geometry-points-chart-wrapper > canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.five-cols {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.five-cols .col {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 5px;
    margin-bottom: 20px;
}

/* Responsive adjustments for columns */
@media (max-width: 1200px) {
    .five-cols .col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 768px) {
    .five-cols .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .five-cols .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Checkbox container styles */
.checkbox-container {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.checkbox-container .form-check {
    margin-right: 15px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 0.75rem;
}

.full-width-chart {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    height: 400px;
}

.card-link {
    text-decoration: none;
}

/* Entfernt den Fokus-Schatten (blaue Umrandung) beim Anklicken */
.accordion-button:focus {
    box-shadow: none;
    outline: none;
  }
  
  /* Anpassung des offenen Zustands (hier kann man die Farbe frei wählen) */
  .accordion-button:not(.collapsed) {
    background-color: inherit; /* oder Ihre Wunschfarbe */
    color: inherit; /* Erbt die Textfarbe vom Elternelement oder setzen Sie eine eigene */
    border: none; /* Entfernt ggf. den Rahmen */
  }
  
  /* Optional: Falls Bootstrap eine Hintergrundfarbe beim :hover-Zustand setzt,
     können Sie diesen auch überschreiben. */
  .accordion-button:hover {
    background-color: inherit;
    color: inherit;
  }

  input[type=range] {
    -webkit-appearance: none; /* Entfernt das native Styling in Webkit-Browsern */
    -moz-appearance: none;    /* Entfernt das native Styling in Firefox */
    appearance: none;         /* Entfernt das native Styling in anderen Browsern */
    width: 100%;
    height: 8px; /* Reduziert die Höhe des Schiebereglers */
    background: #d3d3d3;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
  }

  /* Stil für den Slider-Thumb in Webkit (Chrome, Safari) */
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #000;
    margin-top: -6px; /* Positioniert den Thumb mittig */
  }

  /* Stil für den Slider-Thumb in Firefox */
  input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #000;
  }

  /* Optional: Hover-Effekt */
  input[type=range]:hover {
    opacity: 1;
  }

  /* Stil für die Output-Elemente */
  output {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    text-align: center;
  }

  /* Stil für die Skala unter dem Slider */
  .slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    font-size: 12px;
  }

  .slider-container {
    position: relative;
    margin-bottom: 30px; /* Platz für die Skala */
  }

  .modal-fullscreen {
    max-width: 100% !important;
    margin: 0;
    height: 100%;
  }
  .modal-fullscreen .modal-content {
    height: 100vh;
    border-radius: 0;
  }

    /* Modal‑Text über volle Breite + größere Schrift */
    #bikeDetailsModal .modal-body p {
      width: 100%;
      font-size: 5rem;       /* nach Bedarf anpassen */
      text-align: justify;    /* vollflächige Ausrichtung */
      margin: 0.5rem 0;       /* etwas Luft oben/unten */
    }

    /* Tabellen‑Zeile voller Breite + größere Schrift */
    #selected-bike-row td {
      width: 100%;
      font-size: 1.5rem;     /* nach Bedarf anpassen */
      text-align: justify;
      white-space: normal;    /* Zeilenumbruch erlauben */
      padding: 1rem;          /* mehr Abstand */
    }

    .lsi-gauge {
  position: relative;
  background: linear-gradient(to right, red, orange, green, orange, red);
}
.lsi-gauge .gauge-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #000;
}