#tasks_modal {
  align-items: center;
  background-color: #485c66ab;
  height: 100%;
  display: flex;
  justify-content: center;
  left: 0px;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 1000;
}

.tasks_iframe {
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  visibility: hidden;
}

.fakeModalTasks {
  background-color: #fff;
  border-radius: 24px;
  display: grid;
  height: 600px;
  opacity: 1;
  place-items: center;
  position: absolute;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
  width: 900px;
  z-index: -1;
}

.fakeModalTasks.fakeModalClose {
  opacity: 0;
  visibility: hidden;
}

.tasks_widget {
  background: var(--white, #fff);
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(46, 57, 63, 0.08);
  font-family: var(--fuente-tokko, "Nunito Sans"), sans-serif;
  padding: 12px;
  width: 100%;
}

.tasks_widget_header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.tasks_widget_header_title {
  align-items: center;
  display: flex;
  gap: 10px;
  text-decoration: none !important;
}

.tasks_widget_header_icon {
  color: var(--rojo-tokko, #df1e02);
  font-size: 16px;
}

.tasks_widget_header_text {
  color: var(--grey-800, #2e393f);
  font-size: 14px;
  font-weight: 700;
}

.tasks_widget_add_button {
  background-color: #df1e02;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  float: left;
  font-size: 13px;
  font-weight: bold;
  line-height: 13px;
  margin-top: 0px;
  padding: 7px;
  text-align: center;
  user-select: none;
}

.tasks_widget_add_button:hover {
  background: var(--rojo-tokko-hover, #fd2b0c);
}

.tasks_widget_add_button i {
  color: #fff;
}

.tasks_widget_body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tasks_widget_empty_state {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0 8px;
}

.tasks_widget_empty_state_illustration {
  display: flex;
  justify-content: center;
}

.tasks_widget_empty_state_illustration img,
.tasks_widget_empty_state_illustration svg {
  display: block;
  height: auto;
  max-width: 58px;
  width: 100%;
}

.tasks_widget_empty_state_text {
  color: #6a7981;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.tasks_widget_section_label {
  color: var(--grey-800, #2e393f);
  font-size: 13.3px;
  font-weight: 700;
  line-height: 18px;
}

.tasks_widget_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tasks_widget_item {
  align-items: flex-start;
  border-bottom: 1px solid #eaeef1;
  display: flex;
  gap: 10px;
  padding: 4px 0 12px;
}

.tasks_widget_radio {
  align-items: center;
  border: 1px solid var(--Grey-color-grey-300, #d6dee2);
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.tasks_widget_check_icon {
  color: #d6dee2;
  font-size: 0.675rem;
  opacity: 0;
  pointer-events: none;
  scale: 1.1;
}

.tasks_widget_item_content {
  flex: 1;
  min-width: 0;
}

.tasks_widget_item_header {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.tasks_widget_item_title {
  color: var(--grey-800, #2e393f);
  font-size: 13px;
  font-weight: 600;
  height: fit-content;
  line-height: 18px;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: fit-content;
}

.tasks_widget_item_time {
  color: #0066B4;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 16px;
}

.tasks_widget_item_time_overdue {
  align-items: center;
  border-radius: 16px;
  background-color: #fff1f1;
  color: #df1517;
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 4px;
  justify-content: center;
  line-height: 12px;
  padding: 4px;
  white-space: nowrap;
}

.tasks_widget_item_time_overdue i {
  color: #df1517 !important;
  font-size: 0.75rem;
}

.tasks_widget_meta_list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.tasks_widget_meta_item {
  align-items: center;
  color: var(--gris-3, #6f838d);
  cursor: pointer;
  display: flex;
  gap: 6px;
  min-width: 0;
}

.tasks_widget_meta_item:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tasks_widget_meta_icon {
  color: #6a7981;
  font-size: 0.75rem;
}

.tasks_widget_meta_text {
  color: #6a7981;
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tasks_widget_footer_link {
  border-radius: 6px;
  color: var(--grey-800, #2e393f);
  display: block;
  font-size: 13.3px;
  font-weight: 600;
  line-height: 18px;
  padding: 4px 16px;
  text-align: center;
  text-decoration: none!important;
  width: 100%;
}

#tasks .loading_notification {
  margin: 0;
}

.tasks_widget_item_completed {
  animation: fade_almost_out 750ms linear forwards;
  pointer-events: none;
}

.tasks_widget_item_completed .tasks_widget_item_title::after {
  animation: strike_through_title 400ms ease-in-out forwards;
  background-color: #6a7981;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left;
  width: 100%;
}

.tasks_widget_item_completed .tasks_widget_check_icon {
  animation: fade_in 300ms linear forwards;
}

@keyframes strike_through_title {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes fade_almost_out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.25;
  }
}

@keyframes fade_in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}