/* === Board Content Container === */
.main-content-board {
  padding-left: 128px;
  font-family: "Open Sans";
  max-width: 1440px;
  overflow-y: auto;
  height: calc(100vh - 96px);
  scrollbar-width: none;
  width: 100%;
}

.main-content-board .board {
  width: 300px;
  display: grid;
  gap: 24px;
  margin-top: 12px;
}

.main-content-board .name_from_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 8px;
}

.main-content-board .name_from_card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #5b6470;
}

.main-content-board .plus {
  width: 26px;
  height: 26px;
  border-radius: 34%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #3f78ff;
  color: #3f78ff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(63, 120, 255, 0.12);
}

.main-content-board .column-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 160px;
}

.main-content-board .empty-pill {
  display: grid;
  place-items: center;
  height: 56px;
  color: #9aa3af;
  background-color: #e7e7e7;
}

.main-content-board .task-card.is-dragging {
  cursor: grabbing;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.main-content-board .task-card.tilt-left {
  transform: rotate(-3deg) scale(1.02);
}

.main-content-board .task-card.tilt-right {
  transform: rotate(3deg) scale(1.02);
}

.main-content-board p {
  color: #a8a8a8;
}

/* === Task Card Styles === */
.main-content-board .task-card {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 20px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08),
    0 10px 30px rgba(15, 23, 42, 0.16);
  transition: transform 120ms ease, box-shadow 120ms ease;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.main-content-board .task-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1),
    0 14px 40px rgba(15, 23, 42, 0.18);
}

.main-content-board .task-card:active {
  cursor: grabbing;
  opacity: 0.95;
  transform: scale(0.998);
}

.main-content-board .task-card.is-dragging {
  cursor: grabbing;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.main-content-board .task-card.tilt-left {
  transform: rotate(-3deg) scale(1.02);
}

.main-content-board .task-card.tilt-right {
  transform: rotate(3deg) scale(1.02);
}

.main-content-board .task-card .badge {
  display: inline-block;
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.main-content-board .task-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-content-board .task-card p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}


/* === Task Title and Headings === */
.task-title {
  font-size: 22px;
  border: none;
  border-bottom: 1px solid #d1d1d1;
  padding: 12px;
  width: 100%;
  height: 64;
}

.task-title::placeholder {
  color: #bfbfbf;
  opacity: 1;
}

.section-heading {
  font-size: 18px;
  margin-bottom: 8px;
  color: #42526e;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 19px;
}

/* === Task Input Fields === */
.task-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.main-content-board p {
  color: #a8a8a8;
}

/* === Card Footer and Assigned Users === */
.card-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assigned-to-picture {
  height: 32px;
  margin-right: -9px;
}

/* === Progress Bar === */
.progress-track {
  width: 100%;
  height: 8px;
  background: #e9edf3;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: #4589ff;
  transition: width 0.3s ease;
  border-radius: inherit;
}

/* === Status and Messages === */
.msg-red {
  color: #d00000;
  font-weight: 500;
}

.msg-green {
  color: #0a820a;
  font-weight: 500;
}

#search-msg {
  font-size: 14px;
  margin-top: 6px;
  padding-left: 25px;
}
