/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #101010;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  width: 350px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 26px;
  color: #bb86fc;
  text-shadow: 0 1px 5px rgba(187, 134, 252, 0.8);
}

.input-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

input[type="text"] {
  flex: 1;
  padding: 12px;
  background-color: #252525;
  border: 1px solid #333333;
  border-radius: 6px;
  color: #e0e0e0;
  outline: none;
  transition: border 0.3s, background-color 0.3s;
}

input[type="text"]:focus {
  border-color: #bb86fc;
  background-color: #2c2c2c;
}

button {
  margin-left: 10px;
  padding: 12px;
  background-color: #03dac5;
  border: none;
  border-radius: 6px;
  color: #101010;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #018786;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

ul {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
}

li {
  background-color: #252525;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, transform 0.2s;
}

li:hover {
  background-color: #303030;
  transform: scale(1.02);
}

li.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

li button {
  background-color: #cf6679;
  border: none;
  padding: 8px;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

li button:hover {
  background-color: #b00020;
}
