.edit-button {
  font-family: "Inter Variable", sans-serif;
  padding: 16px;
  height: 57px;
  gap: 4px;
}

.edit-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edit-container.description {
  padding-bottom: 15px;
}

.edit-dialog {
  overflow: hidden;
  padding-top: 32px;
  padding-bottom: 32px;
  padding-left: 40px;
  padding-right: 22px;
}

.edit-header {
  justify-content: flex-end;
  padding-right: 24px;
}

.edit-first-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-wrapper-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edit-input {
  font-size: 20px;
  height: 48px;
}

.input-error {
  border: 1px solid rgb(255, 0, 0) !important;
}

.feedback-message {
  color: rgb(255, 0, 0);
  font-size: 12px;
  visibility: hidden;
}

.visibillity-visible {
  visibility: visible !important;
}

.edit-scroll-content {
  min-height: 0;
  overflow-y: auto;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.edit-textarea {
  font-family: "Inter Variable", sans-serif;
  font-size: 21px;
  width: 100%;
  min-height: 120px;
  height: 120px;
  max-height: 180px;
  max-width: 100%;
  resize: vertical;
  border: 1px solid #d1d1d1;
  padding: 16px 18px;
  border-radius: 10px;
  color: black;
}

.edit-textarea:focus {
  outline: none;
  border: 1px solid #29abe2;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 44px;
}

.edit-date-picker {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.date-picker-btn {
  position: absolute;
  right: 0px;
  margin-right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.priority-options {
  display: flex;
  gap: 16px;
}

.priority-options .prio-btn {
  font-family: "Inter Variable", sans-serif;
  font-size: 21px;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 6px;
  border-radius: 10px;
  background: #ffffff;
  color: #2a3647;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
  transition: 0.1s ease;
}

.priority-options .prio-btn.is-active .prio-icon {
  color: white;
  fill: currentColor;
}

.priority-options .prio-btn:not(.is-active):hover {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

#urgent-btn.is-active {
  background: #ff3d00;
  color: #ffffff;
}

#medium-btn.is-active {
  background: #ffa800;
  color: #ffffff;
}

#low-btn.is-active {
  background: #7ae229;
  color: #ffffff;
}

#urgent-btn:not(.is-active) .prio-icon {
  color: #ff3d00;
}

#low-btn:not(.is-active) .prio-icon {
  color: #7ae229;
}

.d-none {
  display: none;
}

.edit-assigned-select {
  position: relative;
}

.edit-assigned-select .select-trigger {
  border: 1px solid var(--user-icon);
  border-radius: 10px;
  padding: 12px 14px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-assigned-select .select-trigger:focus-visible {
  outline: 1px solid var(--greeting-name-and-hover);
}

.edit-assigned-select .trigger-arrow {
  padding: 5px;
  border-radius: 50%;
}

.edit-assigned-select:hover .trigger-arrow {
  background: var(--secondary-color);
}

.edit-assigned-select.open .trigger-arrow {
  transform: rotate(180deg);
}

.edit-assigned-select .contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edit-assigned-select .select-option input {
  width: 16px;
  height: 16px;
}

.edit-subtask-input {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--user-icon);
  background: white;
  color: var(--primary-color);
  font-size: 20px;
  padding: 16px;
  box-sizing: border-box;
}

.edit-subtask-input::placeholder {
  color: var(--side-bar-icon);
}

.edit-subtasks-list {
  margin-left: 32px;
  color: var(--primary-color);
  font-size: 14px;
}

.edit-subtasks-list li {
  margin-bottom: 16px;
}

.check-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: white;
}

.edit-dialog .subtask-actions .subtask-btn {
  padding: 0;
  line-height: 1;
}

@media (max-width: 600px) {
  .edit-dialog {
    overflow: hidden;
    padding: 32px 24px;
  }

  .edit-scroll-content {
    gap: 16px;
  }

  .edit-input {
    height: 40px;
    font-size: 16px;
    padding: 18px 21px;
  }

  .edit-first-description {
    gap: 8px;
  }

  .feedback-message {
    font-size: 16px;
  }

  .edit-textarea {
    font-size: 16px;
    min-height: 88px;
    height: 88px;
    padding: 18px 21px;
  }

  .date-picker-btn {
    margin-right: 21px;
  }

  .priority-options .prio-btn {
    font-size: 16px;
    padding: 4px 6px;
  }
}

@media (max-width: 450px) {
  .priority-options .prio-btn span {
    display: none;
  }
}
