* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 440px;
  border: 1px solid #334155;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #38bdf8;
}

.subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.timer-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 3rem;
  font-weight: 700;
  color: #38bdf8;
  background: #0f172a;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.inputs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-group label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.input-group input {
  width: 70px;
  padding: 0.5rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1.1rem;
  outline: none;
}

.input-group input:focus {
  border-color: #38bdf8;
}

.controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: #0284c7;
  color: white;
}

button:hover:not(:disabled) {
  background: #0369a1;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.secondary-btn {
  background: #334155;
  color: #e2e8f0;
}

.secondary-btn:hover:not(:disabled) {
  background: #475569;
}

.danger-btn {
  background: #dc2626;
  color: white;
}

.danger-btn:hover:not(:disabled) {
  background: #b91c1c;
}

.status-msg {
  font-size: 0.875rem;
  color: #38bdf8;
  min-height: 1.25rem;
}
