:root {
  --green: #2ecc71;
  --orange: #f39c12;
  --red: #e74c3c;
  --bg: #f5f7fa;
  --card: #fff;
  --text: #333;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 25px;
}

.form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

input, button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  outline: none;
}
button {
  background: var(--green);
  border: none;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #27ae60;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item {
  background: var(--card);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.4s;
}

.item.green { border-left: 6px solid var(--green); }
.item.orange { border-left: 6px solid var(--orange); }
.item.red { border-left: 6px solid var(--red); }

.item span.details {
  display: block;
  line-height: 1.4em;
}

.item .buttons {
  display: flex;
  gap: 8px;
}

.item .buttons button {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-reset {
  background-color: #3498db;
  color: white;
}
.btn-reset:hover {
  background-color: #2980b9;
}

.btn-delete {
  background-color: #e74c3c;
  color: white;
}
.btn-delete:hover {
  background-color: #c0392b;
}
