* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #1a1a2e;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px;
}

/* ===== Task Card ===== */
.task-card {
  display: flex;
  width: 452px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 0 8px 8px 0;
  border-top: 1px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  border-left: 3px solid #5B9A6F;
  background: #fff;
  overflow: hidden;
}

/* ===== Header Bar ===== */
.task-header {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: center;
  background: rgba(117, 167, 136, 0.15);
}

.task-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-assigned {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.assigned-text {
  font-size: 14px;
  font-weight: 400;
  color: #374151;
}

.task-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.due-date {
  font-size: 13px;
  color: #374151;
}

.due-date strong {
  font-weight: 700;
}

/* ===== Icon Buttons ===== */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: background 0.15s;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ===== Task Body ===== */
.task-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  width: 100%;
}

/* ===== User Info Row ===== */
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5B9A6F;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-name {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 4px;
  background: #5B9A6F;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.timestamp {
  font-size: 13px;
  color: #9CA3AF;
  white-space: nowrap;
}

.more-btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ===== Message Text ===== */
.message-text {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: #64748B;
  flex: 1 0 0;
}

.mention {
  color: #EA580C;
  font-weight: 400;
}

/* ===== Action Row ===== */
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.btn-todo {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border-radius: 20px;
  border: 1.5px solid #EA580C;
  background: rgba(255, 228, 185, 0.4);
  color: #EA580C;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-todo:hover {
  background: rgba(255, 228, 185, 0.7);
}

.link-show-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #EA580C;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s;
}

.link-show-all:hover {
  opacity: 0.8;
}

/* ===== Footer ===== */
.task-footer {
  display: flex;
  width: 100%;
  padding: 8px 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E5E7EB;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reaction-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.plus-icon {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #fff;
  border-radius: 50%;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
}

.like-count {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.reply-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  transition: color 0.15s;
}

.reply-btn:hover {
  color: #374151;
}
