/* CSS - Estilização */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

/* Adicione isso para criar um efeito de "vidro" no fundo */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.2); /* Película branca clara */
  backdrop-filter: blur(8px); /* Desfoque na imagem */
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

h1 { color: #1a73e8; }

.btn-add-list {
  background-color: #1a73e8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-add-list:hover { background-color: #1557b0; }

/* Container das listas */
#board {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

/* Caixa de Lista (Task Card) */
.list-container {
  background-color: rgba(235, 237, 240, 0.85);
  width: 280px;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(4px);
}

.list-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.list-header h3 { margin: 0; font-size: 1.1em; color: #333; }

.task-input-area {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.task-input-area input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-task {
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0 10px;
  cursor: pointer;
}

/* Itens da lista */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  background: white;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-delete {
  background: none;
  border: none;
  color: #ff4d4d;
  cursor: pointer;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}