#adt-edit-feed .filters-tab-content,
#adt-edit-feed .rules-tab-content {
  @apply adt-tw-w-full adt-tw-mx-auto adt-tw-bg-white adt-tw-rounded-xl adt-tw-shadow-md;
  border: 1px solid #e5e7eb;

  .tab-content-header {
    @apply adt-tw-p-4 adt-tw-box-border;
    border-bottom: 1px solid #e5e7eb;

    h1 {
      @apply adt-tw-text-2xl adt-tw-font-bold;
    }

    p {
      @apply adt-tw-text-gray-600 adt-tw-text-sm adt-tw-mt-0 adt-tw-mb-1;
    }
  }

  .tab-content-body {
    @apply adt-tw-p-4;
  }
}

#adt-edit-feed .adt-edit-feed-progress {
  @apply adt-tw-mb-4 adt-tw-p-4 adt-tw-bg-white adt-tw-rounded-lg;
  border: 1px solid var(--adt-gray-200, #dcddeb);

  &[hidden] {
    display: none;
  }

  &__header {
    @apply adt-tw-flex adt-tw-items-center adt-tw-justify-between adt-tw-gap-3 adt-tw-mb-2 adt-tw-text-sm;
  }

  &__label {
    color: var(--adt-gray-900, #14142b);
  }

  &__percent {
    @apply adt-tw-font-semibold;
    color: var(--adt-primary-500, #e63d78);
    white-space: nowrap;
  }

  &__track {
    height: 8px;
    background: var(--adt-gray-150, #eff0f6);
    border-radius: 9999px;
    overflow: hidden;
  }

  &__fill {
    height: 100%;
    background: var(--adt-primary-500, #e63d78);
    border-radius: 9999px;
    transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  &.is-complete {
    border-color: var(--adt-success, #00974f);

    .adt-edit-feed-progress__label,
    .adt-edit-feed-progress__percent {
      color: var(--adt-success, #00974f);
    }

    .adt-edit-feed-progress__fill {
      background: var(--adt-success, #00974f);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    &__fill {
      transition: none;
    }
  }
}
