.step-two-errors-main {
  padding-bottom: 128px;
}

.step-two-errors-stack {
  display: grid;
  width: 700px;
  max-width: 100%;
  gap: 12px;
}

.step-two-errors-card {
  border-radius: 4px;
  background: #ffffff;
  padding: 24px 24px 32px;
  box-shadow: 0 0 4px rgba(51, 51, 51, 0.04);
}

.step-two-errors-card h2 {
  margin: 0 0 8px;
  color: #333333;
  font-size: 20px;
  line-height: 26px;
}

.step-two-errors-meta {
  margin-top: 0;
}

.step-two-errors-delete {
  display: inline-flex;
  margin-left: auto;
  color: var(--color-tertiary-link, #5a7299);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.step-two-errors-delete:hover,
.step-two-errors-delete:focus-visible {
  color: #d70a0a;
  text-decoration: underline;
  outline: none;
}

.step-two-errors-progress {
  margin: 16px 0 8px;
  padding: 0 4px 4px;
}

.step-two-errors-progress .client-progress-tab--locked .client-progress-index {
  background: #737373;
  color: #ffffff;
}

.step-two-errors-progress .client-progress-tab--locked:last-child .client-progress-index {
  background: transparent;
  color: #9b9b9b;
}

.step-two-errors-form {
  margin: 0;
}

.step-two-product--unavailable {
  cursor: default;
}

.step-two-product--unavailable .step-two-checkbox {
  border-color: #d8d8d8;
  background: #d8d8d8;
}

.step-two-product--unavailable:hover .step-two-checkbox {
  border-color: #d8d8d8;
}

.step-two-product--unavailable .step-two-product-name,
.step-two-product--unavailable .step-two-product-item {
  display: block;
}

.step-two-product-status {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #f6f8fa;
  padding: 2px 8px;
  color: #333333;
  font-size: 16px;
  line-height: 22px;
}

.step-two-product-state {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.step-two-product-state-label {
  color: #737373;
  font-size: 16px;
  line-height: 22px;
}

.step-two-product-status--neutral {
  border-color: #d8dee5;
  background: #f1f3f5;
  color: #5f6368;
}

.step-two-product-status--danger,
.step-two-product-status--error {
  border-color: #ffd8d8;
  background: #fff4f4;
  color: #d70a0a;
}

.step-two-product-status--info {
  border-color: #d6e6f7;
  background: #eaf4ff;
  color: #0d61ab;
}

.step-two-product-status--success {
  border-color: #dbeadb;
  background: #edf5ed;
  color: #1e7d1e;
}

.step-two-product-status--dark {
  border-color: #a8adb3;
  background: #dfe3e7;
  color: #3f4449;
}

.step-two-product-price {
  font-weight: 700;
}

.step-two-product--unavailable .step-two-product-status--error {
  margin-top: 4px;
}

.step-two-product-explanation {
  position: relative;
  display: flex;
  max-width: 430px;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
  color: #5a7299;
  font-size: 16px;
  line-height: 24px;
}

.step-two-tooltip-trigger {
  display: inline-flex;
  align-items: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.step-two-tooltip-trigger--icon {
  flex: 0 0 18px;
  width: 18px;
  height: 24px;
  justify-content: center;
}

.step-two-tooltip-trigger--text:hover {
  color: inherit;
  text-decoration: none;
}

.step-two-tooltip-trigger--text:focus-visible {
  color: inherit;
  text-decoration: none;
  outline: 2px solid #d6e6f7;
  outline-offset: 2px;
}

.step-two-tooltip-trigger--text:focus:not(:focus-visible) {
  outline: none;
}

.step-two-tooltip-trigger--icon:focus-visible {
  color: #0d61ab;
  outline: 2px solid #d6e6f7;
  outline-offset: 2px;
}

.step-two-info-icon {
  --client-icon-url: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/information-2-line.svg");
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.step-two-tooltip {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 20;
  display: none;
  width: min(400px, calc(100vw - 48px));
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  padding: 12px 40px 12px 12px;
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  transform: translateX(-50%);
}

.step-two-tooltip::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 8px;
  content: "";
}

.step-two-tooltip > span,
.step-two-tooltip a {
  display: block;
}

.step-two-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 3px;
  color: #666666;
  cursor: pointer;
}

.step-two-tooltip-close:hover,
.step-two-tooltip-close:focus-visible {
  color: #d70a0a;
  outline: none;
}

.step-two-tooltip-close-icon {
  --client-icon-url: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/close-line.svg");
  width: 18px;
  height: 18px;
}

.step-two-tooltip a {
  width: fit-content;
  margin-top: 8px;
  color: #0d61ab;
  text-decoration: none;
}

.step-two-tooltip a:hover,
.step-two-tooltip a:focus-visible {
  color: #0d61ab;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 2px;
  outline: none;
}

.step-two-product-explanation:hover .step-two-tooltip,
.step-two-product-explanation:focus-within .step-two-tooltip,
.step-two-product-explanation.is-open .step-two-tooltip,
.step-two-tooltip:hover,
.step-two-tooltip:focus-within {
  display: block;
}

.step-two-product-explanation.is-dismissed .step-two-tooltip {
  display: none;
}

.step-two-errors-form .step-two-actions {
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.step-two-status--process {
  border-color: #d6e6f7;
  background: #eaf4ff;
  color: #0d61ab;
}

.step-two-existing-list {
  margin-top: 16px;
}

.step-two-existing-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid #e6e6e6;
  padding: 16px 8px;
}

.step-two-existing-product:last-child {
  border-bottom: 0;
}

.step-two-existing-product img {
  width: 46px;
  height: 45px;
  object-fit: contain;
}

.step-two-existing-product p {
  margin: 0;
  color: #737373;
  font-size: 16px;
  line-height: 22px;
}

.step-two-existing-product p strong {
  color: #333333;
}

.step-two-secondary-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid #0d61ab;
  border-radius: 99px;
  padding: 16px 24px;
  color: #0d61ab;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
}

.step-two-secondary-button:hover,
.step-two-secondary-button:focus-visible {
  background: #eaf4ff;
  outline: none;
}

.step-two-right-icon {
  --client-icon-url: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-right-line.svg");
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .step-two-errors-stack {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .step-two-errors-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 12px 12px 20px;
  }

  .step-two-errors-progress {
    width: calc(100% + 8px);
    margin: 16px -8px 8px 0;
  }

  .step-two-product--unavailable {
    min-height: 168px;
  }

  .step-two-errors-card .step-two-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .step-two-errors-card .step-two-product-name,
  .step-two-product--unavailable .step-two-product-main > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .step-two-product-explanation {
    max-width: 100%;
  }

  .step-two-existing-product {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px 4px;
  }

  .step-two-secondary-button {
    min-height: 52px;
    padding: 14px 22px;
  }

  .step-two-errors-form .step-two-actions {
    padding-top: 32px;
  }
}
