.board {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.column {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.task-list {
  min-height: 200px;
  padding: 10px;
  background-color: #f9fafb;
  border-radius: 6px;
  border: 1px dashed #ccc;
  flex: 1;
  overflow-y: auto;
}

.task {
  padding: 10px;
  margin-bottom: 8px;
  background-color: #e4ecf7;
  border-left: 4px solid #2e89ff;
  border-radius: 5px;
  cursor: grab;
  font-size: 15px;
  transition: background 0.3s;
}

.task:hover {
  background-color: #d3e3f1;
}

.new-task-input {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

.task .fecha {
  font-size: 12px;
  color: #555;
  font-style: italic;
  margin-left: 5px;
}

.task .text {
  font-weight: bold;
  margin-bottom: 4px;
}

.task .fecha {
  font-size: 12px;
  color: #777;
  font-style: italic;
}

.delete-btn {
  float: right;
  border: none;
  background: transparent;
  color: #c00;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}

.delete-btn:hover {
  color: red;
}

.comment {
  background: #f9f9f9;
  padding: 5px 8px;
  border-left: 3px solid #bbb;
  border-radius: 4px;
  margin-top: 5px;
  font-size: 13px;
  position: relative;
}

.comment-time {
  font-size: 11px;
  color: #999;
  float: right;
}


.comment-input {
  margin-top: 5px;
  padding: 5px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

.task .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-select {
  margin-top: 5px;
  width: 100%;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

/* Etiquetas visuales */
.etiqueta-prioridad {
  border-left: 4px solid orange;
}
.etiqueta-urgente {
  border-left: 4px solid red;
}
.etiqueta-info {
  border-left: 4px solid #007bff;
}

.comment-delete-btn {
  float: right;
  border: none;
  background: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

.comment-delete-btn:hover {
  color: red;
}

.text-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.text {
  font-weight: bold;
  flex: 1;
}

.text-edit-input {
  font-size: 14px;
  padding: 4px;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.edit-btn-mio{
  border: none;
  background-color: transparent;
}

.actions {
  display: flex;
  gap: 4px;
}

.add-comment-btn {
  background-color: #eee;
  border: none;
  padding: 5px 10px;
  margin-bottom: 5px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  transition: background 0.3s;
}

.add-comment-btn:hover {
  background-color: #ddd;
}

.comments-section {
  margin-top: 10px;
}

