/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: capitalize;
}

body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Container principal */
.container {
  width: 90%;
  max-width: 500px;
  background-color: #1e1e1e;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.container h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #10b981;
}

/* Área de entrada e botão */
.container-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.input {
  flex: 1;
  padding: 0.8rem;
  border-radius: 1.5rem;
  border: 1px solid #333;
  outline: none;
  background-color: #2b2b2b;
  color: #e0e0e0;
}

.input::placeholder {
  color: #a0a0a0;
}

.btn {
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #2563eb;
  transform: scale(1.1);
}

/* Lista de tarefas */
.ul {
  list-style-type: none;
  margin-top: 1rem;
}

.ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c2c2c;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  color: #e0e0e0;
  cursor: pointer;
}

/* Botão de remover tarefa */
.remove-btn {
  padding: 0.3rem 0.8rem;
  background-color: #ef4444;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.remove-btn:hover {
  background-color: #dc2626;
  transform: scale(1.1);
}

/* Estilos de sucesso e erro */
.success {
  border: 2px solid #10b981;
}

.error {
  border: 2px solid #f87171;
}
