.task-panel .completed-section {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(22, 117, 174, 0.35);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 22, 35, 0.92), rgba(5, 12, 22, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.18);
}

.task-panel .completed-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.task-panel .completed-section h3::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #eaffff;
  background: linear-gradient(180deg, #22bdf2, #1675AE);
  box-shadow: 0 0 18px rgba(34, 189, 242, 0.35);
  font-size: 16px;
}

.task-panel .completed-section .completed-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.task-panel .completed-section .completed-row:hover {
  border-color: rgba(34, 189, 242, 0.38);
  background: rgba(22, 117, 174, 0.12);
}

.task-panel .completed-section .completed-check {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #0b1724;
  background: #d7ffe8;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(215, 255, 232, 0.12);
}

.task-panel .completed-section .completed-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.task-panel .completed-section .completed-row b {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.task-panel .completed-section .completed-row small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(223, 239, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.task-panel .completed-section .completed-row button {
  border: 1px solid rgba(34, 189, 242, 0.45);
  border-radius: 999px;
  padding: 9px 14px;
  color: #eaffff;
  background: rgba(22, 117, 174, 0.22);
  font-weight: 800;
  cursor: pointer;
}

.task-panel .completed-section .completed-row button:hover {
  background: rgba(34, 189, 242, 0.22);
  box-shadow: 0 0 16px rgba(34, 189, 242, 0.22);
}

@media (max-width: 800px) {
  .task-panel .completed-section {
    padding: 14px;
    border-radius: 18px;
  }

  .task-panel .completed-section .completed-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .task-panel .completed-section .completed-row button {
    grid-column: 2;
    width: fit-content;
  }
}