body[data-page="verification"] mark,
body[data-page="email"] mark,
body[data-page="email-sent"] mark {
  background-color: rgba(34, 80, 252, 0.1);
  border-radius: 0.25rem;
  color: #1d44d6;
  padding: 0.15rem 0.35rem;
}

body[data-page="email-sent"] p {
  font-weight: 400;
}

.wiffy-guide__steps {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.15rem 0.2rem;
  max-width: 100%;
  vertical-align: middle;
}

.wiffy-guide__step {
  background: #f1f4f8;
  border: 1px solid #dce3eb;
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  font-size: 0.88em;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.18rem 0.55rem;
}

.wiffy-guide__steps--forget {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  justify-content: flex-start;
  margin: 0.5rem 0;
  max-width: 100%;
  overflow-x: auto;
  width: auto;
}

.wiffy-guide__steps--forget .wiffy-guide__step,
.wiffy-guide__steps--forget .wiffy-guide__step-chevron {
  flex: 0 0 auto;
  white-space: nowrap;
}

.wiffy-guide__step--network {
  align-items: center;
  gap: 0.35rem;
}

.wiffy-guide__info-icon {
  color: #3688f4;
  fill: none;
  height: 1.15em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 1.15em;
}

.wiffy-guide__info-dot {
  fill: currentColor;
  stroke: none;
}

.wiffy-guide__step-chevron {
  color: #9aa7b8;
  font-size: 0.8em;
}

.wiffy-guide__lead,
.wiffy-guide__tail {
  display: block;
}

.ios-wifi-guide {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem auto 0.5rem;
  max-width: 760px;
  width: 100%;
}

.ios-wifi-guide__phone {
  background: #fff;
  border: 3px double #8b8f96;
  border-bottom: 0;
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: 0 0.15rem 0.45rem rgba(30, 32, 34, 0.045);
  flex: 0 1 260px;
  height: 320px;
  max-width: 260px;
  overflow: hidden;
  padding: 1.45rem 0.8rem 0.8rem;
  position: relative;
  width: auto;
}

.ios-wifi-guide__speaker {
  background: #2e2e2e;
  border-radius: 999px;
  height: 4px;
  left: 50%;
  position: absolute;
  top: 0.65rem;
  transform: translateX(-50%);
  width: 42px;
}

.ios-wifi-guide__screen {
  background: #fafafa;
  height: 100%;
  margin: 0 -0.35rem;
  padding: 0 0.35rem;
  position: relative;
}

.ios-wifi-guide__intro {
  background: #fff;
  border-radius: 0.75rem;
  margin: 0.55rem 0 0.45rem;
  padding: 0.65rem 0.75rem 0.7rem;
}

.ios-wifi-guide__intro-icon {
  align-items: center;
  background: linear-gradient(145deg, #60aefc, #2f7ef1);
  border-radius: 0.55rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: flex;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.45rem;
  width: 36px;
}

.ios-wifi-guide__intro-icon .fa-wifi {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.ios-wifi-guide__intro strong {
  color: #111;
  display: block;
  font-size: 0.8rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ios-wifi-guide__dummy-lines {
  display: grid;
  gap: 0.28rem;
}

.ios-wifi-guide__dummy-lines i {
  background: #d6d6d8;
  border-radius: 999px;
  display: block;
  height: 6px;
}

.ios-wifi-guide__dummy-lines i:nth-child(2) {
  width: 92%;
}

.ios-wifi-guide__dummy-line--continued {
  background: linear-gradient(90deg, #d6d6d8 0 68%, rgba(214, 214, 216, 0.82) 76%, rgba(214, 214, 216, 0.48) 86%, rgba(214, 214, 216, 0.16) 94%, transparent 100%);
  width: 76%;
}

.ios-wifi-guide__title {
  color: #1e2022;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.55rem 0 1rem;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ios-wifi-guide__wifi-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e5e5e7;
  border-radius: 0.75rem 0.75rem 0 0;
  color: #111;
  display: flex;
  font-size: 0.95rem;
  font-weight: 500;
  justify-content: space-between;
  margin: 0.55rem 0 0;
  min-height: 48px;
  padding: 0 0.75rem;
}

.ios-wifi-guide__switch {
  background: #34c759;
  border-radius: 999px;
  display: inline-block;
  height: 20px;
  position: relative;
  width: 38px;
}

.ios-wifi-guide__switch::after {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  content: "";
  height: 16px;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 21px;
}

.ios-wifi-guide__network-row {
  align-items: center;
  background: #fff;
  border-radius: 0 0 0.75rem 0.75rem;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.75rem;
}

.ios-wifi-guide__ssid {
  font-size: 0.82rem;
  font-weight: 500;
  max-width: calc(100% - 72px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ios-wifi-guide__network-icons {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.3rem;
  position: relative;
}

.ios-wifi-guide__wifi-icon {
  fill: #000;
  height: 16px;
  overflow: visible;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
  width: 19px;
}

.ios-wifi-guide__wifi-icon path {
  fill: none;
}

.ios-wifi-guide__info-icon {
  color: #3688f4;
  font-size: 20px;
  line-height: 1;
}

.ios-wifi-guide__tap-indicator {
  animation: ios-wifi-guide-info-tap 2.4s ease-out infinite;
  border: 2px solid #3688f4;
  border-radius: 50%;
  height: 20px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%) scale(0.25);
  width: 20px;
  z-index: 3;
}

@keyframes ios-wifi-guide-info-tap {
  0%,
  35%,
  100% {
    opacity: 0;
    transform: translate(0, -50%) scale(0.25);
  }

  7% {
    opacity: 0.85;
    transform: translate(0, -50%) scale(0.45);
  }

  22% {
    opacity: 0;
    transform: translate(0, -50%) scale(1.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-wifi-guide__tap-indicator {
    animation: none;
    opacity: 0;
  }
}

.ios-wifi-guide__forget {
  background: #fff;
  border-radius: 0.75rem;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.75rem 0.45rem;
  text-align: center;
}

.ios-wifi-guide__dialog {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.85rem;
  box-shadow: 0 0.5rem 1.5rem rgba(30, 32, 34, 0.18);
  left: 50%;
  overflow: hidden;
  position: absolute;
  text-align: center;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 158px;
}

.ios-wifi-guide__dialog strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 0.75rem 0.65rem;
}

.ios-wifi-guide__dialog-actions {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr 1fr;
  padding: 0 0.55rem 0.65rem;
}

.ios-wifi-guide__dialog-actions span {
  align-items: center;
  background: #e9e9eb;
  border-radius: 999px;
  box-sizing: border-box;
  color: #1e2022;
  display: flex;
  font-size: 0.7rem;
  justify-content: center;
  line-height: 1.2;
  min-height: 30px;
  padding: 0.42rem 0.25rem;
  text-align: center;
}

.ios-wifi-guide__dialog-actions span + span {
  color: #dc3545;
  font-weight: 600;
}

.ios-wifi-guide__remove-action {
  position: relative;
}

.ios-wifi-guide__remove-action::after {
  content: "";
  animation: ios-wifi-guide-remove-tap 2.4s ease-out infinite;
  border: 2px solid #dc3545;
  border-radius: 50%;
  height: 20px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.25);
  width: 20px;
  z-index: 3;
}

@keyframes ios-wifi-guide-remove-tap {
  0%,
  47%,
  75%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }

  52% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.45);
  }

  67% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-wifi-guide__remove-action::after {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 575.98px) {
  .ios-wifi-guide {
    flex-direction: column;
    gap: 1rem;
  }

  .ios-wifi-guide__phone {
    flex: 0 0 auto;
    height: 220px;
    max-width: 300px;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    width: 60vw;
  }

  .ios-wifi-guide__intro {
    padding: 0.45rem 0.5rem 0.5rem;
  }

  .ios-wifi-guide__intro-icon {
    height: 28px;
    margin-bottom: 0.3rem;
    width: 28px;
  }

  .ios-wifi-guide__intro-icon .fa-wifi {
    font-size: 1rem;
  }

  .ios-wifi-guide__intro strong {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }

  .ios-wifi-guide__dummy-lines {
    gap: 0.2rem;
  }

  .ios-wifi-guide__dummy-lines i {
    height: 4px;
  }

  .ios-wifi-guide__dialog {
    width: calc(100% - 0.75rem);
  }
}

.portal-loading {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 10000;
}

.portal-loading.is-finished {
  display: none;
}

.portal-loading [data-loading-spinner] {
  height: 42px;
  width: 42px;
}

.portal-loading__text {
  color: #6c757d;
  margin: 16px 0 0;
  text-align: center;
}

.portal-loading__text img {
  height: 2em;
  vertical-align: -0.5em;
}

@media (prefers-reduced-motion: reduce) {
  .portal-loading [data-loading-spinner] {
    animation: none;
  }
}
