/* Board */
.kanban-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    height: 100%;
    padding: 0px;
}

.kanban-column {
    display: flex;
    flex-direction: column;
    width: 256px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 8px;
}

.kanban-column-card-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

/* Card */
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  max-width: 240px;
  max-height: 120px;
}

.card:hover {
  transform: translateY(-2px);
}

/* Title */
.card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Description */
.card p {
  margin: 4px 0;
  font-size: 14px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Checkbox completed */
.card-checkbox {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
  font-size: 14px;
  color: #444;
}

.card input[type="checkbox"] {
  cursor: pointer;
}

/* Priority text */
.card-priority {
  font-size: 13px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Colors according to priority */
.card-priority-normal {
  background: #e0e0e0;
  color: #333;
}

.card-priority-low {
  background: #d0f0d0;
  color: #2e7d32;
}

.card-priority-medium {
  background: #fff3cd;
  color: #856404;
}

.card-priority-high {
  background: #f8d7da;
  color: #721c24;
}

.card-priority-top {
  background: #ffe0b2;
  color: #e65100;
}


/* Card Dialog */
dialog {
  border: none;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 400px;
  max-width: 90%;
}

.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-form-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.dialog-form textarea {
  min-height: 120px;
}

.display-form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-form menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* Buttons */
/* Basic reset for buttons */
.btn {
  all: unset;                /* remove all default styles */
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.1em;
}

.btn-save {
  background: #4caf50;
  color: white;
}
.btn-save:hover {
  background: #43a047;
}

.btn-cancel {
  background: #e0e0e0;
  color: #333;
}
.btn-cancel:hover {
  background: #d5d5d5;
}

.btn-delete {
  background: #f44336;
  color: white;
}
.btn-delete:hover {
  background: #e53935;
}
