:root {
  --orange: #ff7a00;
  --dark-violet: #9327ff;
  --violet-blue: #6e52ff;
  --purple: #fc71ff;
  --honey: #ffbb2b;
  --turquoise: #1fd7c1;
}

.success-message {
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.success-message.is-open {
  pointer-events: auto;
  animation: fadeIn 0.25s ease forwards;
}

.message-task {
  opacity: 0;
  transform: translateY(100vw);
  background-color: #2a3647;
  padding: 24px;
  border-radius: 16px;
  color: white;
  font-size: 24px;
}

.success-message.is-open .message-task {
  animation: slideIn 0.25s ease-out 0.15s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.blue-border {
  border: 1px solid #29abe2 !important;
}

button div {
  user-select: none;
  pointer-events: none;
}

.rotate-180deg {
  transform: rotate(180deg);
}

.placeholder-sidebar {
  width: 232px;
  height: 100vh;
  background-color: #2a3647;
}

.create-task-container {
  width: max-content;
  margin: 64px 0 32px 64px;
}

.header-task {
  margin-bottom: 32px;
  font-size: 3rem;
}

.tasks-form-container {
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 32px;
}

.addTask-Container {
  width: 364px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-container {
  display: flex;
  flex-direction: column;
  width: auto;
}

.task-name {
  font-weight: 400;
  color: #2a3647;
  margin-bottom: 8px !important;
  font-size: 18px;
  margin-bottom: 8px;
}

.input-task {
  padding: 0 16px 0 16px;
  height: 40px;
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  background-color: white;
}

.input-task:focus {
  outline: transparent;
  border-color: #29abe2;
}

.input-task::placeholder {
  color: #d1d1d1;
}

.blue-outline {
  border: 1px solid #4589ff;
}

.light-red-outline {
  border: 1px solid #ff8190 !important;
}

.textarea-description {
  padding: 16px;
  height: 120px;
  width: 100%;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  background-color: white;
  resize: none;
}

.textarea-description:focus {
  border: 1px solid #29abe2;
  outline: #29abe2;
}

.date-field {
  cursor: pointer;
}

.red-font {
  color: #ff8190;
}

.error-message {
  height: 16px;
  color: #ff8190;
  font-size: 16px;
}

.input-container {
  height: 40px;
  width: 100%;
  padding: 0 16px 0 16px;
  display: flex;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.input-assaign {
  cursor: pointer;
}

.input-container:hover {
  border: 1px solid #9c9c9c;
}

.input-container input {
  flex-grow: 1;
  border: none;
  min-width: 0;
}

.input-container input:focus {
  outline: none;
}

.input-container input::placeholder {
  color: #d1d1d1;
}

.priority-btn-container {
  display: flex;
  gap: 14px;
}

.priority-btn-container button {
  font-size: 16px;
}

.btn-priority {
  height: 48px;
  width: auto;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 6px;
  box-shadow: 0px 0px 6px rgb(0, 0, 0, 0.1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.btn-priority:hover {
  box-shadow: 0px 6px 4px rgb(0, 0, 0, 0.2);
}

.urgent-priority-icon {
  height: 20px;
  width: 20px;
  background-image: url(../assets/icons/prio_urgent_icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.medium-priority-icon {
  height: 20px;
  width: 20px;
  background-image: url(../assets/icons/medium_orange_icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.low-priority-icon {
  height: 20px;
  width: 20px;
  background-image: url(../assets/icons/low_green_icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.active-urgent-btn {
  background-color: #ff3d00 !important;
  box-shadow: 0px 0px 6px rgb(0, 0, 0, 0) !important;
  color: white !important;
}

.active-medium-btn {
  background-color: #ffa800 !important;
  box-shadow: 0px 0px 6px rgb(0, 0, 0, 0) !important;
  color: white !important;
}

.active-low-btn {
  background-color: #7ae229 !important;
  box-shadow: 0px 0px 6px rgb(0, 0, 0, 0) !important;
  color: white !important;
}

.active-urgent-icon {
  background-image: url(../assets/icons/prio_arrows_white_icon.svg);
}

.active-medium-icon {
  background-image: url(../assets/icons/medium_white_icon.svg);
}

.active-low-icon {
  background-image: url(../assets/icons/prio_arrows_white_icon.svg);
  transform: rotate(180deg);
}

.icon-priority {
  height: 16px;
  width: 16px;
}

.btn-dropdown {
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-sizing: content-box;
  height: 16px;
  width: 16px;
  border-radius: 16px;
  cursor: pointer;
  background-color: rgb(0, 0, 0, 0);
}

.btn-dropdown:hover {
  background-color: rgb(0, 0, 0, 0.1);
}

.divider-vertical {
  height: auto;
  width: 2px;
  border-radius: 1px;
  background-color: #d1d1d1;
}

.task-controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.task-control-btns {
  display: flex;
  gap: 16px;
}

.btn-clear {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  box-sizing: content-box;
  padding: 8px;
  border: 1px solid #2a3647;
  border-radius: 8px;
  cursor: pointer;
}

.btn-clear:hover {
  color: #4589ff;
  border: 1px solid #4589ff;
}

.btn-clear:hover .clear-icon {
  background-image: url(../assets/icons/cancel_light_blue.svg);
}

.clear-icon {
  height: 16px;
  width: 16px;
  background-image: url(../assets/icons/cancel.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.saveBtn-Container {
  display: flex;
  flex-direction: row-reverse;
}

.btn-create {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  box-sizing: content-box;
  padding: 8px;
  color: white;
  background-color: #2a3647;
  border: none;
  border-radius: 8px;
  font-weight: 800px;
  cursor: pointer;
}

.btn-create:hover {
  background-color: #4589ff;
}

.btn-create img {
  height: 16px;
  width: 16px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.zindex-12 {
  z-index: 12;
}

.dropdown-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 11;
}

.assigned-dropdown {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: absolute;
  max-height: 200px;
  width: 100%;
  background-color: white;
  overflow-y: auto;
  box-shadow: 0px 8px 10px rgb(209, 209, 209, 0.65);
  border-radius: 4px 4px 8px 8px;
}

.scrollbar-styling::-webkit-scrollbar-thumb {
  background-color: #d1d1d1;
  border: 4px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}

.scrollbar-styling::-webkit-scrollbar {
  width: 16px;
}

.assigned-icons-container {
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  gap: 8px;
  height: 32px;
}

.category-dropdown {
  z-index: 1;
  position: absolute;
  height: auto;
  width: 100%;
  background-color: white;
  box-shadow: 0px 8px 10px rgb(209, 209, 209, 0.65);
  border-radius: 4px 4px 8px 8px;
}

.single-user-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.single-user-container:hover {
  background-color: #f4f4f4;
}

.single-user-container_select {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #2a3647;
  color: white;
}

.single-user-container_select:hover {
  background-color: #091931;
}

.single-user-container_select .btn-check {
  background-image: url(../assets/icons/check_icon_white.svg);
  height: 16px;
  width: 16px;
}

.user-icon {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  font-size: 10px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-name {
  flex-grow: 1;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-check {
  width: 18px;
  height: 18px;
  background-color: transparent;
  border: none;
  background-image: url(../assets/icons/check_icon_empty.svg);
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.bg-check {
  background-image: url(../assets/icons/check_icon.svg);
}

.sub-container {
  height: 96px;
  width: 100%;
  overflow-y: auto;
}

.sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.sub-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style-position: inside;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sub-item:hover {
  background-color: #d1d1d1;
  border: none;
}

.sub-item span {
  margin-right: 8px;
  user-select: none;
}

.sub-item input {
  border-color: transparent;
  color: #2a3647;
  min-width: 0;
  width: 100%;
  cursor: pointer;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-item input:disabled {
  background-color: transparent;
}

.sub-btn-container {
  display: flex;
  gap: 4px;
}

.sub-btn-edit {
  height: 20px;
  width: 20px;
  background-image: url(../assets/icons/edit.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sub-btn-edit:hover {
  transform: scale(1.2);
}

.sub-btn-delete {
  height: 20px;
  width: 20px;
  background-image: url(../assets/icons/delete.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}

.sub-btn-delete:hover {
  transform: scale(1.2);
}

.sub-item-editing {
  display: flex;
  flex-direction: row;
  padding: 8px 16px 8px 16px;
  background-color: white;
  /* font-size: 14px; */
  border-bottom: 2px solid #29abe2;
}

.sub-item-editing input {
  flex-grow: 1;
  border: none;
  outline: transparent;
}

.sub-item-editing input:focus {
  border: none;
}

.sub-btn-conf {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-image: url(../assets/icons/check_darkblue_icon.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sub-btn-conf:hover {
  transform: scale(1.2);
  background-color: #d1d1d1;
}

.sub-btn-editing-delete {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-image: url(../assets/icons/delete.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sub-btn-editing-delete:hover {
  transform: scale(1.2);
  background-color: #d1d1d1;
}

@media (max-width: 1115px) {
  .create-task-container {
    margin: 64px 0 0 48px;
  }

  .tasks-form-container {
    gap: 24px;
  }

  .addTask-Container {
    width: 300px;
  }
}

@media (max-width: 992px) {
  .right-content-wrapper {
    flex-grow: 1;
  }

  .tasks-form-container {
    gap: 16px;
  }

  .create-task-container {
    width: 100%;
    margin: 128px 0 108px 0 !important;
    margin-top: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .task-controls {
    justify-content: center;
    align-items: center;
    gap: 64px;
  }

  .btn-priority {
    font-size: 16px;
  }

  .urgent-priority-icon {
    height: 16px;
    width: 16px;
  }
}

@media (max-width: 680px) {
  .header-task {
    width: 100%;
    padding-left: 64px;
  }

  .create-task-container {
    flex-grow: 1;
    justify-content: start;
    margin: 120px 0 108px 0;
  }

  .tasks-form-container {
    flex-direction: column;
    width: 100%;
  }

  .addTask-Container {
    width: 100%;
    padding: 0 64px 0 64px;
  }

  .divider-vertical {
    display: none;
  }

  .assigned-dropdown {
    width: 100%;
  }
}

@media (max-width: 590px) {
  .header-task {
    padding-left: 32px;
  }

  .task-controls {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .addTask-Container {
    padding: 0 32px;
  }
}

@media (max-width: 480px) {
  .header-task {
    padding-left: 16px;
  }

  .header-task {
    font-size: 2.5rem;
  }

  .create-task-container {
    flex-grow: 1;
    justify-content: start;
    margin: 124px 0 108px 0;
  }

  .tasks-form-container {
    padding: 0 16px !important;
    margin-bottom: 12px;
  }

  .addTask-Container {
    gap: 16px;
  }

  .btn-priority {
    height: 40px;
  }

  .urgent-priority-icon {
    height: 14px;
    width: 14px;
  }

  .medium-priority-icon {
    height: 14px;
    width: 14px;
  }

  .low-priority-icon {
    height: 14px;
    width: 14px;
  }

  .tasks-form-container {
    padding: 0 32px 0 32px;
  }

  .addTask-Container {
    padding: 0px;
  }

  .error-message {
    height: 14px;
  }

  .task-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-controls p {
    width: 100%;
    display: flex;
    padding-left: 16px;
  }

  .task-control-btns {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .sub-container {
    height: 48px;
  }
}