/* Scrum Board Styles */
.board-search {
  padding: 16px;
  background: white;
  border-bottom: 1px solid #ddd;
}

.board-container {
  display: flex;
  gap: 3px;
  view-transition-name: board-panel;
}

.task_column {
   min-height: 93vh;
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #f9f9f9;
  transition: flex-basis 0.2s ease, max-width 0.2s ease;
}

.task_column h2 {
  margin-top: 0;
}

.task_editing{
  min-height: 93vh;
  
  padding: 15px;
}

.task_column[data-status="todo"], .task_editing[data-status="todo"] {
  background-color: #faf8e4;
}

.task_column[data-status="done"], .task_editing[data-status="done"] {
  background-color: #e9f8ea;
}

.task {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.task p {
  margin: 0 0 8px 0;
  ;
}

.task-actions {
  display: none;
  gap: 4px;
  margin-top: 8px;
}

.task.editing .task-actions {
  display: flex;
}
.task.editing textarea{
  height: 55vh;
}

.task_edit_button {
  text-decoration: none;
  color: #0066cc;
  cursor: pointer;
}

.task_edit_button.delete {
  color: #cc0000;
}

.task_edit_button:hover {
  text-decoration: underline;
}

.empty-message {
  color: #999;
}

.task-description {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: block;
  margin: 0 -4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.task-description:hover {
  background-color: #f0f0f0;
}

.task-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.task-edit-form {
  margin: 8px 0;
}

.task-move-buttons {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.task-move-btn {
  padding: 6px 10px;
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  background-color: #f2f2f2;
  color: #333;
  cursor: pointer;
  font-size: 12px;
}

.task-move-btn:hover {
  background-color: #e6e6e6;
}

.done-column-toggle {
  border: 1px solid #b7b7b7;
  border-radius: 6px;
  background: #f3f3f3;
  color: #222;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}

.done-column-toggle:hover {
  background: #e8e8e8;
}

.task-edit-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #0066cc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 60px;
  box-sizing: border-box;
}

.task-edit-buttons {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.task-save-btn, .task-cancel-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s;
}

.task-save-btn {
  background-color: #0066cc;
  color: white;
}

.task-save-btn:hover {
  background-color: #0052a3;
}

.task-cancel-btn {
  background-color: #ddd;
  color: #333;
}

.task-cancel-btn:hover {
  background-color: #ccc;
}

.floating-action-menu {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1000;
}

.floating-menu-toggle {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-menu-toggle:hover {
  background: #0057b3;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.floating-menu-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-action-menu.is-open .floating-menu-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-menu-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d0d7e2;
  color: #1b3f6b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.floating-menu-action:hover {
  background: #f2f7ff;
}

@media (max-width: 768px) {
  .floating-action-menu {
    right: 16px;
    bottom: 16px;
  }

  .floating-menu-toggle {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}