:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Grunddesign der App */
.app-shell {
  background-color: #050505;
  color: #e2e8f0;
}

.card {
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.input {
  appearance: none;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #020617;
  color: #e2e8f0;
  padding: 0.62rem 0.75rem;
  font-size: 0.95rem;
}

.input:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.input:disabled {
  opacity: 0.55;
}

.btn {
  border: 1px solid #334155;
  border-radius: 10px;
  background-color: #0b1220;
  color: #e2e8f0;
  padding: 0.58rem 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn:hover:enabled {
  border-color: #475569;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Buttons */
.btn-primary {
  background-color: #0891b2;
  border-color: #0891b2;
  box-shadow: 0 0 15px rgba(8, 145, 178, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px rgba(8, 145, 178, 0.5);
}

.btn-action {
  background-color: #f43f5e;
  border-color: #f43f5e;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.5);
}

.btn-action:hover:enabled {
  border-color: #fb7185;
}

.timer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.control-pane {
  min-width: 210px;
}

/* Der Timer Glow Effekt */
.timer-display {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: 1;
  font-weight: 700;
  color: #f43f5e;
  text-shadow:
    0 0 10px rgba(244, 63, 94, 0.6),
    0 0 20px rgba(244, 63, 94, 0.4),
    0 0 40px rgba(244, 63, 94, 0.2);
  letter-spacing: -2px;
}

.hud-info {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.01em;
}

.sequence-item {
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(2, 6, 23, 0.65);
  opacity: 0.24;
  filter: grayscale(1);
  transition: all 0.2s ease;
  line-height: 1.35;
}

.sequence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
}

.sequence-step-name {
  color: #e2e8f0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.sequence-meta {
  margin-top: 0.18rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.35;
}

/* Aktiver Schritt in der Liste */
.sequence-item.is-active {
  border-left: 4px solid #22d3ee;
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.14);
  opacity: 1;
  filter: none;
}

.sequence-item.is-active .sequence-step-name {
  color: #67e8f9;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

/* Abgeschlossener Schritt */
.sequence-item.is-done {
  opacity: 0.18;
  filter: grayscale(1);
}

@media (max-width: 768px) {
  .control-pane {
    width: 100%;
  }

  .control-pane p {
    text-align: left;
  }

}
