.todo-header-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: wrap;

  gap: 1rem;
  width: 80%;
  margin: 20px auto;
  padding: 10px;
}

.todo-header-container > * {
  margin: auto;
}

.group-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: 20px;
}

.group-card {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 1100px;  

  gap: 20px;
}

.group-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
  margin: 10px 0px;
}

.group-header .header-item {
  gap: 10px;
}

.group-header h4 {
  margin: 0px 0px;
}

.group-header h3 {
  margin: 0;
}

.task-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: 20px;

  max-height: 800px;
  overflow-y: auto;
  overflow-x: hidden;
}

.task-card {
  display: flex;
  flex-direction: row;

  width: 90%;
}

.task-card.hidden {
  display: none;
}

.radio-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  width: 50px;
}

.radio-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.task-content {
  display: flex;
  flex-direction: column;

  width: 100%;
  gap: 10px;
}

h4 {
    margin: 5px 0;
  }

.progress-bar-prog {
  font-size: 14px;
  color: oklch(0.35 0 0);
}

.progress-container {
  width: 100%;
  height: 8px;
  background-color: #f3f4f6;
  border-radius: 10px;
}

.progress {
  margin-top: 5px;
  height: 100%;
  width: 0%;
  border-radius: 10px;  
  transition: width 0.4s ease;
  background-color: oklch(57.81% 0.1776 147.5);
}

.task-completion h4,
.task-completion span,
.task-completion p
 {
  text-decoration-line: line-through;
}

.flex-shrink {
  flex: 1 1 auto;
}

.fixed-item {
  flex: 0 0 auto;
}

.task-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-edit-task {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: oklch(0.55 0 0);
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.1s ease;
  line-height: 1;
}

.task-card:hover .btn-edit-task {
  opacity: 1;
}

.btn-edit-task:hover {
  background-color: oklch(0.93 0 0);
}

#task-modal-title {
  margin: 0 0 16px 0;
  font-size: 18px;
}
