/* Component Scope Root */
.WalkthroughSlide {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Blue (with faint map dots) fading into white, as in the design */
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, #ffffff 68%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, #2350cf 0%, #3a6ae0 40%, #8fb0f0 58%, #ffffff 70%);
  background-size: cover, 14px 14px, cover;
}

.WalkthroughSlide .ws_visual {
  flex: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 20px;
}

.WalkthroughSlide .ws_image {
  width: 100%;
  max-width: 360px;
  max-height: 48vh;
  object-fit: contain;
  animation: wsFadeUp 0.5s ease both;
}

.WalkthroughSlide .ws_icon_circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  color: #2350cf;
  font-size: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  animation: wsFadeUp 0.5s ease both;
}

.WalkthroughSlide .ws_lottie {
  width: 100%;
  max-width: 360px;
  height: 340px;
  animation: wsFadeUp 0.5s ease both;
}

@keyframes wsFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text + buttons */
.WalkthroughSlide .ws_content {
  padding: 10px 24px 40px;
  text-align: center;
}

.WalkthroughSlide .ws_title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  white-space: pre-line;
  margin: 0 0 10px 0;
}

.WalkthroughSlide .ws_text {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto 22px;
}

/* Next button that fills the grey track as you progress */
.WalkthroughSlide .ws_progress_track {
  max-width: 420px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 22px;
  background-color: #e5e7eb;
  overflow: hidden;
}

.WalkthroughSlide .ws_progress_fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(90deg, #1e3a8a 0%, #2f5fd0 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: width 0.4s ease;
}

.WalkthroughSlide .ws_skip {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .WalkthroughSlide .ws_image,
  .WalkthroughSlide .ws_icon_circle {
    animation: none;
  }

  .WalkthroughSlide .ws_progress_fill {
    transition: none;
  }
}

@media (min-width: 0px) and (max-width: 485px) {
  .WalkthroughSlide .ws_icon_circle {
    width: 150px;
    height: 150px;
    font-size: 60px;
  }

  .WalkthroughSlide .ws_lottie {
    max-width: 280px;
    height: 260px;
  }

  .WalkthroughSlide .ws_content {
    padding: 6px 18px 32px;
  }

  .WalkthroughSlide .ws_title {
    font-size: 19px;
  }

  .WalkthroughSlide .ws_text {
    font-size: 12px;
  }

  .WalkthroughSlide .ws_progress_track {
    height: 40px;
  }

  .WalkthroughSlide .ws_progress_fill {
    font-size: 14px;
  }
}
