.example-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 30px 0;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 4px;
}

input.demo-input {
  padding: 15px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 250px;
}

/* =============================================================================
   HORIZONTAL VALUE VISUALIZER
   ============================================================================= */

:root {
  --horVaVi-font-family: 'Lato', Arial;
  --horVaVi-font-size: 8px;
  --horVaVi-color-bg: transparent;
  --horVaVi-color-text: #333;
  --horVaVi-color-border: transparent;
  --horVaVi-color-progress-bg: rgba(80, 80, 150, 0.3);
  --horVaVi-color-exceeded: rgba(0, 204, 204, 1);
  --horVaVi-remain-color: #ff6b6b;
  --horVaVi-depart-color: #4ecdc4;
  --horVaVi-radius: 1px;
  --horVaVi-percent-font-size: px;
  --horVaVi-percent-font-weight: 500;
  --horVaVi-progress-height: 2px;
  --horVaVi-horizontal-container-height: 25px;
  --horVaVi-horizontal-element-spacing: 1px;
  --horVaVi-percent-width: 10px;
  --horVaVi-animation-blink: horVaVi-blink 0.6s ease-in-out infinite alternate;
}

@keyframes horVaVi-blink {
  from { opacity: 1; }
  to { opacity: 0.4; }
}

/* =============================================================================
   CONTAINER-STRUKTUR
   ============================================================================= */

.horVaVi-fieldContainer {
  display: flex;
  flex-direction: column;
  gap: var(--horVaVi-horizontal-element-spacing);
  position: relative;
  width: 250px; /* Standardbreite - wird durch JS überschrieben */
}

/* POSITIONEN */
.horVaVi-fieldContainer[data-orientation="horizontal"][data-position="top"] {
  flex-direction: column;
}

.horVaVi-fieldContainer[data-orientation="horizontal"][data-position="bottom"] {
  flex-direction: column;
}

.horVaVi-output-container {
  display: flex;
  align-items: center;
  gap: var(--horVaVi-horizontal-element-spacing);
  font-family: var(--horVaVi-font-family);
  font-size: var(--horVaVi-font-size);
  width: 100%;
}

/* =============================================================================
   PROGRESS ELEMENTE
   ============================================================================= */

.horVaVi-progress {
  flex: 1;
  height: var(--horVaVi-progress-height);
  margin: 2px 0;
  background-color: var(--horVaVi-color-progress-bg);
  border-radius: var(--horVaVi-radius);
  overflow: hidden;
  position: relative;
}

.horVaVi-progress-bar {
  height: 100%;
  background: hsl(120, 100%, 45%);
  border-radius: var(--horVaVi-radius);
  transition: all 0.3s ease;
  min-width: 2px;
}

/* =============================================================================
   PROZENTANZEIGE
   ============================================================================= */

.horVaVi-percent {
  font-weight: var(--horVaVi-percent-font-weight);
  color: var(--horVaVi-color-text);
  white-space: nowrap;
  min-width: var(--horVaVi-percent-width);
  text-align: right;
  font-size: var(--horVaVi-percent-font-size);
}

/* =============================================================================
   EXCEEDED STATE & ANIMATIONEN
   ============================================================================= */

.horVaVi-percent.horVaVi-exceeded,
.horVaVi-progress-bar.horVaVi-exceeded {
  animation: var(--horVaVi-animation-blink);
}

/* =============================================================================
   MODUS-SPEZIFISCHE STYLES
   ============================================================================= */

.horVaVi-both {
  justify-content: space-between;
}

.horVaVi-progress-only .horVaVi-progress {
  flex: 1;
}

.horVaVi-percent-only .horVaVi-percent {
  flex: 1;
  text-align: right;
}