body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #292a29;
  margin: 0;
  padding: 0;
  color: #000;
}

.container {
  max-width: 900px;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  background-color: #423e4b;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: white;
}

form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input[type="text"],
input[type="date"]{
  flex: 1;
  padding: 10px;
  background: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  border-radius: 5px;
}


input.error {
  border: 2px solid red;
}

button[type="submit"] {
  padding: 10px 20px;
  background-color: #238636;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #2ea043;
}

.filter-section {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.button-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.button-bar select {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #30363d;
  color: #c9d1d9;
  font-weight: bold;
  cursor: pointer;
}

.button-bar button {
  padding: 10px 20px;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button-bar button:hover {
  background-color: #e90d1b;
}

#todo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: black;
}

#todo-table th {
  background-color: #2ea043;
  padding: 12px;
}

#todo-table td {
  background-color: #61e0ff;
  padding: 10px;
}

#todo-table td span {
  margin-left: 10px;
  font-weight: bold;
}

#pagination {
  text-align: center;
  margin-top: 20px;
}

#pagination button {
  padding: 5px 10px;
  margin: 0 5px;
  border: 1px solid #30363d;
  background-color: #161b22;
  color: #c9d1d9;
  cursor: pointer;
  border-radius: 4px;
}

#pagination button.active {
  background-color: #238636;
  color: white;
}

.checkbox {
  transform: scale(1.3);
}

.delete-btn {
  background-color: #ff0000;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.delete-btn:hover {
  background-color: #e90d1b;
  color: white;
}