



.menu-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.task-description {
  
  color: var(--text-sub);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  word-spacing: normal;
  text-wrap-mode: wrap;

  /* preserve newlines */
  white-space: pre-wrap;
}

.modal-assignees-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.assigned-member-pill {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #444;
    padding: 4px 10px;
    border-radius: 20px;
    gap: 8px;
    font-size: 13px;
    color: #ddd;
}

.pill-avatar {
    width: 20px;
    height: 20px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.pill-remove {
    cursor: pointer;
    color: #ff4d4d;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    margin-left: 2px;
}

.pill-remove:hover {
    color: #ff1a1a;
}

/* The "Add Member" Trigger Button */
.add-member-btn {
    background: transparent;
    border: 1px dashed #555;
    color: #aaa;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    margin: 10px;
}

.add-member-btn:hover {
    border-color: #4da3ff;
    color: #4da3ff;
}

.assignee-stack {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-direction: row; /* Stack vertically */
    align-items: flex-end;   /* Right-justify the names */
    gap: 2px;
    pointer-events: none;    /* Don't interfere with card dragging/clicks */
}

.assignee-name {
    font-size: 0.7rem;
    color: #b0b0b0;          /* Light grey */
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;        /* Prevent long names from eating the card */
    line-height: 1.2;
}

.assignee-name.extra {
    font-style: italic;
    font-size: 0.65rem;
    color: #d1d1d1;
}

