* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
}

.app {
  background: #020617;
  padding: 24px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

h1 {
  margin: 0 0 4px;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 14px;
}

.input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
  outline: none;
}

input::placeholder {
  color: #64748b;
}

button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #38bdf8;
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 8px;
}

li.done span {
  text-decoration: line-through;
  color: #64748b;
}

.task-actions button {
  background: transparent;
  color: #94a3b8;
  padding: 4px 8px;
}

.task-actions button:hover {
  color: #e5e7eb;
}
