/* Task Form */
.task-form-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #fafafa;
}

.task-form-container {
  width: 100%;

  padding: 40px;
}

.task-form-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #1f1f1f;
}

.task-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.task-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-form-label {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.task-form-input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.task-form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.task-form-textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.task-form-textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.task-form-select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  cursor: pointer;
}

.task-form-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.task-errors {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 16px;
  color: #c33;
}

.task-errors h2 {
  font-size: 16px;
  margin: 0 0 8px 0;
}

.task-errors ul {
  margin: 0;
  padding-left: 20px;
}

.task-errors li {
  margin-bottom: 4px;
}

.task-form-actions {
  display: flex;
  gap: 12px;
}

.task-form-button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.task-form-button.primary {
  background: #007bff;
  color: white;
}

.task-form-button.primary:hover {
  background: #0056b3;
}

.task-form-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.board-members-list {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  background: #fafafa;
}

.board-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}

.board-member-meta {
  overflow: hidden;
  min-width: 0;
}

.board-member-label,
.board-member-link-row {
  margin: 0;
}

.board-member-link-row {
  margin-top: 4px;
}

.board-member-link {
  color: #007bff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.board-member-link:hover {
  text-decoration: underline;
}

.board-member-actions {
  flex: 0 0 auto;
}

.board-member-item .button_to {
  margin: 0;
}

.board-member-item .task-form-button {
  padding: 6px 12px;
  font-size: 14px;
}

.board-member-item:last-child {
  border-bottom: 0;
}

.task-form-back {
  color: #007bff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.task-form-back:hover {
  color: #0056b3;
  text-decoration: underline;
}