.zahlenstrahl-app {
  background: #f4f5f7;
  border-radius: 12px;
  padding: 8px 10px 10px;
  font-family: 'Montserrat';
  height: 95vh;
}

.zs-header {
  padding: 4px 2px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.zs-header h2 {
  font-size: 32px;
  margin: 0;
  font-weight: 600;
  color: #1d3557;
  flex: 1; /* schiebt die anderen Elemente nach rechts */
}

.zs-size-control {
  display: flex;
  align-items: center;
  gap: 3.5px;
  font-size: 8px;
  white-space: nowrap;
}

.zs-height-range {
  width: 120px;
}

.zs-height-value {
  font-size: 15px;
  color: #555;
}


.zs-app-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zs-controls {
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.zs-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.zs-control-group {
  display: flex;
  flex-direction: column;
  font-size: 8.5px;
  min-width: 120px;
}

.zs-control-group label {
  margin-bottom: 2px;
  font-weight: 600;
  color: #3a4f66;
}

.zs-control-group input {
  padding: 3px 4px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  min-width: 0;
  color: #3a4f66;
}

.zs-control-group-small {
  max-width: 90px;
}

.btn {
  padding: 7.5px 15px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: normal;
}

.zs-apply-range {
  background: #457b9d;
  color: white;
}

.zs-reset-marks {
  background: #e63946;
  color: white;
}

.zs-zoom-in,
.zs-zoom-out {
  background: #a8dadc;
  color: #1d3557;
}

.zs-toggle-decimals {
  background: #ffb703;
  color: #000;
}

.zs-fullscreen-btn {
  background: #1d3557;
  color: #f1faee;
}

.btn:hover {
  filter: brightness(0.95);
}

.zs-label-small {
  font-size: 16px;
  color: #666;
}

.zs-hint-small {
  font-size: 16px;
  color: #666;
}

.zs-canvas-wrapper {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.zs-info-text {
  font-size: 16px;
  margin-bottom: 4px;
  color: #555;
  display: none;
}

.zs-canvas {
  width: 100%;
  min-height: 220px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  cursor: grab;
  display: block;
}

.zs-canvas:active {
  cursor: grabbing;
}

@media (max-width: 720px) {
  .zs-header h2 {
    width: 100%;
  }
  .zs-control-group {
    min-width: 90px;
  }
}


.zs-apply-marks {
  background: #118ab2;
  color: #fff;
  display: none;
}


.zs-size-label {
  font-size: 15px;
  color: #3a4f66;
}



.zs-controls.is-hidden {
  display: none;
}

