body { background: #f4f5f7; padding-bottom: 36px; }

.board { overflow-x: auto; align-items: flex-start; }

.column {
  background: #ebecf0;
  border-radius: 8px;
  width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 136px);
}
.column-header {
  padding: 12px 14px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-aujourdhui { background: #6f42c1; }
.dot-urgent { background: #de350b; }
.dot-normal { background: #0052cc; }
.dot-attente { background: #ff991f; }
.dot-termine { background: #36b37e; }

.column-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #5e6c84;
  flex: 1;
}
.count {
  background: rgba(9,30,66,.13);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #5e6c84;
}
.card-list {
  padding: 4px 8px 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 40px;
}
.card-list.drag-over {
  background: rgba(9,30,66,.06);
  border-radius: 6px;
}
.card {
  display: block;
  border: none;
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(9,30,66,.25);
  cursor: grab;
  border-left: 4px solid transparent;
}
.card:active { cursor: grabbing; }
.card.dragging { opacity: .4; }
.card-aujourdhui { border-left-color: #6f42c1; }
.card-urgent { border-left-color: #de350b; }
.card-normal { border-left-color: #0052cc; }
.card-attente { border-left-color: #ff991f; }
.card-termine { border-left-color: #36b37e; }

.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  word-break: break-word;
}
.card-project {
  font-size: 11px;
  font-weight: 600;
  color: #5e6c84;
  background: rgba(9,30,66,.08);
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  word-break: break-word;
}
.add-card-btn {
  background: none;
  border: none;
  color: #5e6c84;
  text-align: left;
  padding: 8px 6px;
  width: 100%;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}
.add-card-btn:hover {
  background: rgba(9,30,66,.08);
  color: #172b4d;
}

#fDescEditor .ql-editor {
  min-height: 160px;
  max-height: 340px;
  overflow-y: auto;
}
#fDescEditor .ql-editor img {
  max-width: 100%;
}

.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #5e6c84;
  background: #fff;
  border-top: 1px solid #dfe1e6;
  z-index: 1030;
}
.card-duration {
  font-size: 11px;
  color: #5e6c84;
  margin-bottom: 6px;
}
.card-deadline {
  font-size: 11px;
  color: #5e6c84;
  margin-bottom: 6px;
}

.app-logo {
  height: 32px;
  width: auto;
}
.nav-menu-link {
  font-size: 14px;
  font-weight: 500;
  color: #5e6c84;
  text-decoration: none;
}
.nav-menu-link:hover {
  color: #172b4d;
  text-decoration: underline;
}
