.addTaskBody {
  background-color: var(--main-bg-color);
  height: 100%;
  overflow: scroll;
  overflow-x: hidden;
}

.requiredAsterisk {
  color: var(--form-error);
  vertical-align: text-top;
}

.divider {
  height: 424px;
  width: 1px;
  background-color: var(--color-placeholder);
}

.heading {
  margin: 20px 0px;
}

.addTaskWrapper {
  height: 924px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1920px;
  padding: 150px 16px 48px 300px;
  transition: padding-left 0.3s ease;
  margin-bottom: 20px;
}

.addTaskForm {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 50px;
  max-width: 1280px;
  flex-direction: row;
  padding-top: 32px;
}

.addTaskFormRight {
  display: flex;
  flex-direction: column;
}

.addTaskForm h6 {
  color: var(--main-color);
}

.addTaskErrors {
  font-size: 16px;
  color: var(--input-error);
  height: 16px;
  margin-top: 4px;
  visibility: hidden;
}

.addTaskFooter {
  bottom: 0;
  position: absolute;
  width: 977px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.input {
  cursor: text !important;
}

.inputFlexbox {
  display: flex;
  flex-direction: column;
  width: 440px;
  gap: 8px;
  transition: margin-top 0.3s ease, padding-bottom 0.3s ease;
}

.assignedToSearch {
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.assignedToSearch::placeholder {
  font-size: 20px;
  color: var(--main-color);
}

.assignedToSearch:focus {
  outline: none;
}

.textarea-wrapper {
  position: relative;
}

textarea::placeholder {
  color: var(--color-placeholder);
}

.description {
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 440px !important;
  max-height: 200px;
  min-height: 120px;
  resize: none;
  overflow: auto;
  background-image: url("../assets/svg/Recurso.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 4px) calc(100% - 4px);
  background-size: 19px 19px;
  border: solid 1px var(--color-placeholder);
  border-radius: 10px;
  padding: 12px 21px;
  font-size: 20px;
  cursor: text;
  outline: none;
}

.resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  cursor: ns-resize;
  z-index: 2;
}

.description:focus {
  border: 1px solid var(--light-blue);
}

::-webkit-calendar-picker-indicator {
  display: none;
}

input[type="date"]::-moz-calendar-picker-indicator {
  display: none;
}

.dateIcon {
  background-image: url("../assets/svg/event.svg");
}

#assignedToDropdownCategory {
  position: relative;
  background-color: var(--white);
  cursor: pointer;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  border: solid 1px var(--color-placeholder);
  border-radius: 10px;
  padding: 12px 21px;
}

.dropdownField:focus-within .dropdown-selected,
.dropdownField.open .dropdown-selected {
  border-color: var(--light-blue);
}

.dropdown-item-contact {
  border-radius: 10px;
  padding: 7px 16px;
  border-bottom: 1px solid white;
}

.dropdown-item-contact:hover {
  background-color: var(--empty-category);
}

.dropdown-item-contact.selected {
  background-color: var(--main-color);
}

.dropdown-item-contact.selected:hover {
  background-color: var(--main-color-dark);
}

.dropdownArrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.addTaskContactsList {
  display: none;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  list-style: none;
  padding-top: 16px;
  padding-right: 4px;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  max-height: 240px;
  overflow-y: auto;
  z-index: 3;
}

.addTaskContactsList::-webkit-scrollbar {
  width: 8px;
}

.addTaskContactsList::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.addTaskContactsList::-webkit-scrollbar-track {
  border-radius: 4px;
  margin-top: 16px;
}

#assignedToDropdownContacts {
  position: relative;
  background-color: white;
  cursor: pointer;
}

.checkbox-svg.checked {
  filter: brightness(0) invert(1);
}

.addTaskCategoryList {
  display: none;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  list-style: none;
  padding-top: 4px;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  z-index: 4;
}

#assignedToDropdownContacts.open #dropdown-list-contacts {
  display: block;
}

#assignedToDropdownCategory.open #dropdown-list-category {
  display: block;
}

.dropdown-item-category {
  border-radius: 10px;
  padding: 7px 16px;
  margin-bottom: 2px;
  display: flex;
  height: 50px;
}

.dropdown-item-category:hover {
  background-color: var(--empty-category);
}

.contact-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid white;
  flex-shrink: 0;
}

.prioDivsWrapper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.prioGrade {
  width: calc(100% / 3);
  border: none;
  border-radius: 10px;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}

.prioGrade:hover {
  cursor: pointer;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.prioGrade:active {
  box-shadow: none;
}

.redColor {
  background-color: var(--button-urgent);

  h6 {
    color: white;
  }
}

.orangeColor {
  background-color: var(--button-medium);

  h6 {
    color: white;
  }
}

.greenColor {
  background-color: var(--button-low);

  h6 {
    color: white;
  }
}

.removeHoverEffect:hover {
  box-shadow: none;
}

.filterWhite {
  filter: grayscale(100%) invert(100%) brightness(1000%);
}

.addOrClear {
  display: flex;
  gap: 20px;
}

.addOrClearBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 21px;
  font-weight: 700;
}

#clear {
  padding: 12px 16px;
}

#add p {
  font-weight: 700;
  font-size: 21px;
}

.clearBtn:hover img {
  filter: brightness(0) saturate(100%) invert(44%) sepia(95%) saturate(2474%) hue-rotate(180deg) brightness(90%) contrast(70%);
}

.dropdown-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  gap: 12px;
}

.dropdown-checkbox .contact-name {
  flex: 1;
}

.dropdown-checkbox input[type="checkbox"] {
  margin-left: auto;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}

.createTaskCheck {
  height: 18px;
  width: 18px;
}

.editInput {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
}

.date-input-wrapper {
  position: relative;
  width: 100%;
  display: inline-block;
}

.custom-calendar-overlay {
  animation: fadeInScale 0.2s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

input[type="text"].date-input-firefox {
  cursor: pointer;
}

input[type="text"].date-input-firefox::-webkit-calendar-picker-indicator {
  display: none;
}
