:root {
  --bg: #121212;
  --card: #1e1e1e;
  --text: #eee;
  --accent: #4c8dff;
  --border: #333;
  --danger: #e53935;
}

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 20px;
  color-scheme: dark;
}

.card {
  max-width: 420px;
  margin: auto;
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

h2 {
  font-size: 0.95rem;
  margin-top: 18px;
}

.programmes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

button.primary {
  width: 100%;
  margin-top: 12px;
  background: var(--accent);
  border: none;
  color: white;
  font-weight: 600;
}

button.danger {
  width: 100%;
  margin-top: 12px;
  background: var(--danger);
  border: none;
  color: white;
}

.finish-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

input[type="time"] {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 1rem;
  color-scheme: dark;
}

.quick-delays button {
  padding: 8px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
}

.result {
  margin-top: 15px;
  font-weight: 600;
  white-space: pre-line;
  font-size: 1rem;
  padding: 10px;
  border-radius: 8px;
  background: var(--card);
  border-left: 4px solid var(--accent);
}

.notif-status {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.notif-status .success { color: #4caf50; }
.notif-status .warning { color: #ffb74d; }
.notif-status .error { color: #e53935; }

.notify {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
