.lista-tareas {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tarea {
  background: #0f0f1a;
  border: 1px solid #1a1a2e;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  animation: aparecer 0.2s ease;
}

.tarea:hover {
  border-color: #2a2a3e;
  background: #111120;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tarea.alta {
  border-left-color: #ef4444;
}
.tarea.media {
  border-left-color: #f59e0b;
}
.tarea.baja {
  border-left-color: #7c3aed;
}
.tarea.completada {
  opacity: 0.35;
}

.check-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #2a2a3e;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  transition: all 0.2s;
}

.check-btn:hover {
  border-color: #7c3aed;
}

.check-btn.checked {
  background: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.5);
}

.tarea-body {
  flex: 1;
  min-width: 0;
}

.tarea-texto {
  font-size: 13px;
  font-weight: 400;
  color: #e8e8f0;
}

.tarea.completada .tarea-texto {
  text-decoration: line-through;
  color: #333345;
}

.tarea-meta {
  display: flex;
  gap: 6px;
  margin-top: 5px;
  align-items: center;
}

.badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.alta {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.badge.media {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.badge.baja {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
}

.tarea-fecha {
  font-size: 10px;
  color: #6b6b80;
  margin-top: 4px;
}

.tarea-fecha.vencida {
  color: #ef4444;
}
.tarea-fecha.pronto {
  color: #f59e0b;
}

.btn-borrar {
  font-size: 13px;
  color: #2a2a3e;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 3px 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-borrar:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.aviso-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  font-weight: 500;
}
.aviso-select-lista {
  font-size: 9px;
  padding: 1px 4px;
  height: 20px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 4px;
  color: #a78bfa;
  cursor: pointer;
  outline: none;
}
.timer-live {
  font-weight: 600;
  color: #f59e0b;
}
.input-editar {
  font-size: 13px;
  font-weight: 400;
  color: #e8e8f0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #7c3aed;
  outline: none;
  width: 100%;
  padding: 0;
  font-family: "Inter", sans-serif;
}
