/* React Bits Stepper.css — scoped under .rb-island so it cannot leak into the template */
.rb-island .outer-container{
  display: flex;
  min-height: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}@media (min-width: 640px){
  .rb-island .outer-container{aspect-ratio: 4 / 3;}
}

@media (min-width: 768px){
  .outer-container {
    aspect-ratio: 2 / 1;
  }.rb-island }

.step-circle-container{
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 28rem;
  border-radius: 2rem;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}.rb-island .step-indicator-row{
  display: flex;
  width: 100%;
  align-items: center;
  padding: 2rem;
}.rb-island .step-content-default{
  position: relative;
  overflow: hidden;
}.rb-island .step-default{
  padding-left: 2rem;
  padding-right: 2rem;
}.rb-island .footer-container{
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}.rb-island .footer-nav{
  margin-top: 2.5rem;
  display: flex;
}.rb-island .footer-nav.spread{
  justify-content: space-between;
}.rb-island .footer-nav.end{
  justify-content: flex-end;
}.rb-island .back-button{
  transition: all 350ms;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  color: #a3a3a3;
  cursor: pointer;
}.rb-island .back-button:hover{
  color: #52525b;
}.rb-island .back-button.inactive{
  pointer-events: none;
  opacity: 0.5;
  color: #a3a3a3;
}.rb-island .next-button{
  transition: all 350ms;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #5227ff;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: 0.375rem 0.875rem;
  cursor: pointer;
}.rb-island .next-button:hover{
  background-color: #5227ff;
}.rb-island .next-button:active{
  background-color: #5227ff;
}.rb-island .step-indicator{
  position: relative;
  cursor: pointer;
  outline: none;
}.rb-island .step-indicator-inner{
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 600;
}.rb-island .active-dot{
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background-color: #fff;
}.rb-island .step-number{
  font-size: 0.875rem;
}.rb-island .step-connector{
  position: relative;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  height: 0.125rem;
  flex: 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: #52525b;
}.rb-island .step-connector-inner{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}.rb-island .check-icon{
  height: 1rem;
  width: 1rem;
  color: #fff;
}

/* ------------------------------------------------------------------
   Motion layer - replaces framer-motion (durations/easings are the originals).
   ------------------------------------------------------------------ */
.rb-island .rb-step-slide {
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.rb-island .rb-step-slide--enter { opacity: 0; }
.rb-island .rb-step-slide--enter[data-dir="1"]  { transform: translateX(-100%); }
.rb-island .rb-step-slide--enter[data-dir="-1"] { transform: translateX(100%); }
.rb-island .rb-step-motion-in { opacity: 1; transform: translateX(0%); }
.rb-island .rb-step-slide--exit[data-dir="1"]  { transform: translateX(50%);  opacity: 0; }
.rb-island .rb-step-slide--exit[data-dir="-1"] { transform: translateX(-50%); opacity: 0; }
.rb-island .rb-step-content { transition: height .45s cubic-bezier(.16,1,.3,1); }
.rb-island .rb-check-path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: rb-check-draw .3s ease-out .1s backwards; }
@keyframes rb-check-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* ------------------------------------------------------------------
   Editorial skin - the component's widget chrome is removed so the process
   reads as part of the page, not as an embedded app: no card, numbered and
   labelled timeline on a hairline, page type scale, text-link controls.
   ------------------------------------------------------------------ */
.rb-island--stepper {
  background: none;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.rb-island--stepper .outer-container { min-height: 0; padding: 0; aspect-ratio: auto; }
.rb-island--stepper .step-circle-container {
  max-width: 100%;
  border: 0 !important;            /* the port sets an inline 1px border */
  border-radius: 0;
  box-shadow: none;
}

/* indicator row -> numbered, labelled timeline on a hairline */
.rb-island--stepper .step-indicator-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  padding: 0;
  margin-top: 1.25rem;
  margin-bottom: 2.75rem;
  border-top: 1px solid rgba(20,40,60,.10);
}
.rb-island--stepper .step-indicator {
  flex: 1 1 0;
  position: relative;
  padding-top: 1.15rem;
  background: none;
  outline: none;
  opacity: 1;
}
.rb-island--stepper .rb-edit-step {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  width: 100%;
}
.rb-island--stepper .rb-edit-step__num,
.rb-island--stepper .rb-edit-step__label {
  font-family: Montserrat, system-ui, sans-serif;
  transition: color .3s ease;
  color: #5d686f;
}
.rb-island--stepper .rb-edit-step__num { font-size: 11px; font-weight: 600; letter-spacing: .18em; opacity: .7; }
.rb-island--stepper .rb-edit-step__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.rb-island--stepper .rb-edit-step--active .rb-edit-step__num { color: #2163af; opacity: 1; }
.rb-island--stepper .rb-edit-step--active .rb-edit-step__label { color: #14283c; }
.rb-island--stepper .rb-edit-step--complete .rb-edit-step__num,
.rb-island--stepper .rb-edit-step--complete .rb-edit-step__label { color: #2163af; }
.rb-island--stepper .rb-edit-step:hover .rb-edit-step__label,
.rb-island--stepper .rb-edit-step:hover .rb-edit-step__num { color: #14283c; }
.rb-island--stepper .rb-edit-step:hover .rb-edit-step__label { border-bottom-color: rgba(20,40,60,.3); }
.rb-island--stepper .rb-edit-step--active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2163af;
}
.rb-island--stepper .step-connector { flex: 0 0 auto; width: 3.5rem; margin: 0 1.1rem; }
.rb-island--stepper .step-connector-inner {
  width: 0;
  height: 1px;
  margin-top: 1.6rem;
  background-color: transparent;
  transition: width .4s cubic-bezier(.16,1,.3,1), background-color .4s cubic-bezier(.16,1,.3,1);
}
.rb-island--stepper .rb-step-connector-inner--complete { width: 100%; background-color: rgba(33,99,175,.45); }

/* content -> the page's own type scale and measure */
.rb-island--stepper .step-content-default { position: relative; overflow: visible; height: auto !important; }
.rb-island--stepper .step-content-default > div { position: relative !important; }
.rb-island--stepper .step-default { padding-inline: 0; }
.rb-island--stepper .rb-children { max-width: 58ch; }
.rb-island--stepper .rb-children h3,
.rb-island--stepper .rb-children h4 {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: #14283c;
  margin: 0 0 .9rem;
}
.rb-island--stepper .rb-children p { font-size: 16px; line-height: 1.7; color: #4b565d; margin: 0; }

/* controls -> the page's link style, not pills */
.rb-island--stepper .footer-container { padding: 0; margin-top: 2rem; }
.rb-island--stepper .footer-nav,
.rb-island--stepper .footer-nav.spread,
.rb-island--stepper .footer-nav.end {
  margin-top: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.25rem;
}
.rb-island--stepper .next-button,
.rb-island--stepper .back-button {
  appearance: none;
  border: 0;
  background: none;
  border-radius: 0;
  padding: 0 2px;
  /* audit: the smallest control on the site measured 93x21px, under the 44px touch
     guideline - the text-link look is kept, the hit area is not */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease;
}
.rb-island--stepper .next-button { color: #2163af; box-shadow: inset 0 -1px 0 rgba(33,99,175,.5); }
.rb-island--stepper .next-button::after { content: " ->"; }
.rb-island--stepper .next-button:hover { color: #14283c; box-shadow: inset 0 -1px 0 #14283c; }
.rb-island--stepper .back-button { color: #5b666c; box-shadow: inset 0 -1px 0 rgba(20,40,60,.15); }
.rb-island--stepper .back-button:hover { color: #14283c; box-shadow: inset 0 -1px 0 #14283c; }
.rb-island--stepper .back-button.inactive { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------------
   Small screens: the five-column timeline cannot hold its measure, so it
   becomes a stacked numbered list on the same hairline language.
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
  .rb-island--stepper .step-indicator-row {
    flex-direction: column;
    align-items: stretch;
    border-top: 0;
    margin-top: 0;
    margin-bottom: 2rem;
    gap: 0;
  }
  .rb-island--stepper .step-indicator {
    flex: 0 0 auto;
    width: 100%;
    padding-top: 0;
    border-top: 1px solid rgba(20,40,60,.10);
  }
  .rb-island--stepper .rb-edit-step {
    flex-direction: row;
    align-items: baseline;
    gap: .85rem;
    min-width: 0;
    width: 100%;
    padding: .85rem 0 .85rem .9rem;
  }
  .rb-island--stepper .rb-edit-step--active::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
  }
  .rb-island--stepper .step-connector { display: none; }
  .rb-island--stepper .rb-children { max-width: 100%; }
  .rb-island--stepper .footer-nav,
  .rb-island--stepper .footer-nav.spread,
  .rb-island--stepper .footer-nav.end { gap: 1.5rem; }
}
