/* AML wallet-check UI (scoped under .main-check) */

.main-check .select-item.load > .s-content {
  flex: 1 0 0;
}

.main-check .select-item.load .loader {
  font-size: 7px;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  animation: aml-orbit 1.1s infinite ease;
  transform: translateZ(0);
}

@keyframes aml-orbit {
  0%,
  100% {
    box-shadow:
      0 -1.3em #0057ff,
      0.9em -0.9em #0057ff33,
      1.25em 0 #0057ff33,
      0.875em 0.875em #0057ff33,
      0 1.25em #0057ff33,
      -0.9em 0.9em #0057ff33,
      -1.3em 0 #0057ff80,
      -0.9em -0.9em #0057ffb3;
  }
  12.5% {
    box-shadow:
      0 -1.3em #0057ffb3,
      0.9em -0.9em #0057ff,
      1.25em 0 #0057ff33,
      0.875em 0.875em #0057ff33,
      0 1.25em #0057ff33,
      -0.9em 0.9em #0057ff33,
      -1.3em 0 #0057ff33,
      -0.9em -0.9em #0057ff80;
  }
  25% {
    box-shadow:
      0 -1.3em #0057ff80,
      0.9em -0.9em #0057ffb3,
      1.25em 0 #0057ff,
      0.875em 0.875em #0057ff33,
      0 1.25em #0057ff33,
      -0.9em 0.9em #0057ff33,
      -1.3em 0 #0057ff33,
      -0.9em -0.9em #0057ff33;
  }
  37.5% {
    box-shadow:
      0 -1.3em #0057ff33,
      0.9em -0.9em #0057ff80,
      1.25em 0 #0057ffb3,
      0.875em 0.875em #0057ff,
      0 1.25em #0057ff33,
      -0.9em 0.9em #0057ff33,
      -1.3em 0 #0057ff33,
      -0.9em -0.9em #0057ff33;
  }
  50% {
    box-shadow:
      0 -1.3em #0057ff33,
      0.9em -0.9em #0057ff33,
      1.25em 0 #0057ff80,
      0.875em 0.875em #0057ffb3,
      0 1.25em #0057ff,
      -0.9em 0.9em #0057ff33,
      -1.3em 0 #0057ff33,
      -0.9em -0.9em #0057ff33;
  }
  62.5% {
    box-shadow:
      0 -1.3em #0057ff33,
      0.9em -0.9em #0057ff33,
      1.25em 0 #0057ff33,
      0.875em 0.875em #0057ff80,
      0 1.25em #0057ffb3,
      -0.9em 0.9em #0057ff,
      -1.3em 0 #0057ff33,
      -0.9em -0.9em #0057ff33;
  }
  75% {
    box-shadow:
      0 -1.3em #0057ff33,
      0.9em -0.9em #0057ff33,
      1.25em 0 #0057ff33,
      0.875em 0.875em #0057ff33,
      0 1.25em #0057ff80,
      -0.9em 0.9em #0057ffb3,
      -1.3em 0 #0057ff,
      -0.9em -0.9em #0057ff33;
  }
  87.5% {
    box-shadow:
      0 -1.3em #0057ff33,
      0.9em -0.9em #0057ff33,
      1.25em 0 #0057ff33,
      0.875em 0.875em #0057ff33,
      0 1.25em #0057ff33,
      -0.9em 0.9em #0057ff80,
      -1.3em 0 #0057ffb3,
      -0.9em -0.9em #0057ff;
  }
}

.main-check .select-item {
  border-radius: 16px;
  border: 1px solid rgba(5, 15, 25, 0.0784313725);
  background-color: #fff;
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.2s ease-in-out;
  user-select: none;
  width: 100%;
}

.main-check .select-item img {
  width: 40px;
  height: 40px;
}

.main-check .select-item .s-i-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.main-check .select-item .s-i-desc {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 20px;
}

.main-check .select-item:hover {
  background-color: #050f1908;
}

.main-check .select-item.active {
  box-shadow: 4px 4px 32.7px #0057ff0d inset;
  border: 1px solid rgba(0, 87, 255, 0.1490196078);
  background-color: #fff;
}

.main-check .select-item.selected,
.main-check .select-item.load {
  background-color: #050f1908;
  cursor: default;
  pointer-events: none;
}

.main-check .progress-wrapper p {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.main-check .progress-wrapper .progress-bar {
  height: 10px;
  background-color: #050f190d;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.main-check .progress-wrapper .progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 5px;
  width: var(--p-width);
  background-color: var(--p-color);
  transition: width 0.2s ease-in-out;
}

.main-check .slide-fade-enter-active {
  transition: all 0.4s ease;
}

.main-check .slide-fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}

.main-check .slide-fade-enter,
.main-check .slide-fade-leave-to {
  transform: scale(0.6);
  opacity: 0;
}

.main-check .last-card .total-percent,
.main-check .last-card .head-desc,
.main-check .last-card .c-logo {
  text-align: center;
  margin: auto;
}

.main-check .last-card .percent,
.main-check .last-card .total-percent {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--text-primary);
  text-align: center;
}

.main-check .last-card.card .head-desc {
  max-width: 100%;
}

.main-check .percent-wrapper {
  margin: 24px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-check .wallet-wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-check .process-error {
  margin: 0 0 32px;
}

.main-check .btn-dis {
  text-align: left;
  justify-content: flex-start;
  font-weight: 500;
  font-size: 14px;
  padding: 0 16px;
}

.main-check .card:not(.first-card) .loader {
  text-align: center;
  padding: 40px 0;
}

.main-check .card:not(.first-card) .loader img {
  margin: auto;
  max-width: 300px;
  max-height: 100%;
  width: 100%;
  height: auto;
}

.main-check .card {
  background-color: #fff;
  margin-top: 60px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(5, 15, 25, 0.0784313725);
}

.main-check .card .c-head-h1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-check .card .c-head-h1 h1 {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-primary);
}

.main-check .card .c-head-h1 .steps {
  padding: 4px 12px;
  display: inline-flex;
  height: 28px;
  align-items: center;
  background-color: #0057ff1a;
  border: 1px solid rgba(0, 87, 255, 0.1490196078);
  border-radius: 14px;
  color: var(--text-accept);
  font-size: 14px;
}

.main-check .card .head-desc {
  color: var(--text-gray);
  max-width: 328px;
  margin-top: 6px;
  margin-bottom: 24px;
}

.main-check .first-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 474px;
}

.main-check .first-card > button,
.main-check .first-card > .buttons {
  align-self: flex-end;
}

.main-check .first-card > .buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 52px;
}

.main-check .wallet-error {
  background: #f044381a;
  color: #f04438;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 16px;
  border-radius: 16px;
  margin-top: 12px;
}

@media (max-width: 576px) {
  .main-check .select-item .s-i-desc {
    font-size: 10px;
  }

  .main-check .card {
    margin-top: 40px;
    padding: 20px;
  }

  .main-check .card .c-head-h1 {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }

  .main-check .card .c-head-h1 .steps {
    height: 24px;
    font-size: 12px;
    border-radius: 12px;
  }

  .main-check .card .head-desc {
    margin-bottom: 20px;
    max-width: 100%;
  }
}

.checking-error {
  text-align: center;
  color: #f04438;
  opacity: 0;
  margin: 24px 0 0;
}
