* {
  box-sizing: border-box;
}
:root {
  --dep-logistic: #FD9A6A;
  --dep-marketing: #F9D949;
  --dep-tech: #89B6FF;
  --dep-hr: #99FF99;
  --dep-it: #A699FF;
  --dep-media: #FF99CC;
  --dep-finance: #FFCC99;
}

.wrapper {
  width: 88%;
  margin: 0 auto;
  padding: 40px 0;
}
.header {
  background-color: #f4f4f4;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
}
.dashboard {
  display: flex;
  gap: 1rem;
}
.task-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
}
.task-column {
  width: 381px;
  min-height: 300px;
}
.task-column-header {
  width: 381px;
  height: 54px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 400;
}

/* Filters section container */
.filters {
  display: flex;
  width: 688px;
  height: 44px;
  border-radius: 10px;
  justify-content: space-between;
  border: 1px solid #dee2e6;
  padding: 0 15px;
}

/* Each filter container */
.filters .filter {
  width: 200px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

/* Filter pills container */
.filter-pills {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Individual pill styling */
.filter-pill {
  border: 1px solid #ccc;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

/* Dropdown for filters */
.filter-dropdown {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  position: absolute;
  z-index: 1000;
}

.clear-filters-btn {
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  cursor: pointer;
}

.task-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  width: 381px;
  height: 217px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Row styling */
.card-row {
  display: flex;
  justify-content: space-between;
}

/* Row 1 specifics */
.row1-left {
  display: flex;
  gap: 0.5rem;
}
.row1-right {
  font-size: 12px;
}

/* Pill styling */
.priority-pill {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 5px;
  gap: 4px;
  width: 86px;
  height: 26px;
  padding: 0 5px;
}
.department-pill {
  width: 88px;
  height: 26px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 9px;
}

/* Row 2: Title and description */
.row2 {
  margin: 10px;
  flex-direction: column;
  text-align: left;
  gap: 12px;
}
.task-title {
  margin: 0;
  font-size: 15px;
}
.task-description {
  margin: 0.2rem 0 0;
  color: #555;
  font-size: 14px;
}

/* Row 3: Assignee avatar and comments */
.row3-left {
  display: flex;
  align-items: center;
}
.assignee-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  object-fit: cover;
}
.row3-right {
  align-self: center;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}
