/* Seeking Him Ministries — church launch experience */

.setup-page{
  max-width: 52rem;
  margin: 0 auto;
}

.setup-launch-page{
  max-width: 58rem;
}

.setup-launch-shell{
  width: 100%;
}

.setup-launch-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px){
  .setup-launch-layout{
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.85fr);
  }

  .setup-live-preview{
    position: sticky;
    top: 1rem;
  }
}

.setup-welcome-panel{
  animation: setupFadeIn .45s ease;
}

.setup-welcome-header{
  background: linear-gradient(135deg, #1a3d5c 0%, #4a7c9e 100%);
  color: #fff;
  padding: 1.5rem 1.35rem 1rem;
  border-radius: 1.15rem 1.15rem 0 0;
}

.setup-welcome-kicker,
.setup-launch-kicker{
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  margin: 0;
}

.setup-welcome-body .setup-welcome-text{
  line-height: 1.65;
  color: var(--text, #2c2419);
  margin-bottom: .85rem;
}

.setup-welcome-cta{
  font-weight: 700;
}

.setup-live-preview-caption{
  font-size: .78rem;
  color: var(--muted, #6b6358);
  text-align: center;
  margin: .65rem 0 0;
}

.setup-live-preview-card{
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 12px 28px rgba(44, 36, 25, .1);
  background: #fff;
}

.setup-live-preview-banner-wrap{
  position: relative;
  height: 5.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79, 70, 229, .25), rgba(47, 143, 106, .2));
}

.setup-live-preview-banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.setup-live-preview-banner-fallback{
  position: absolute;
  inset: 0;
  background: inherit;
}

.setup-live-preview-body{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem 1rem;
}

.setup-live-preview-logo{
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: .5rem;
  flex-shrink: 0;
}

.setup-live-preview-title{
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}

.setup-live-preview-tagline{
  font-size: .82rem;
  color: var(--muted, #6b6358);
  line-height: 1.4;
}

.setup-card-header--compact{
  padding: 1rem 1.25rem .85rem;
}

.setup-card--complete{
  max-width: 40rem;
  margin: 0 auto;
}

.setup-complete-check{
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(47, 143, 106, .15);
  color: #2f6f52;
  font-size: 1.35rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}

.setup-complete-kicker{
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #6b6358);
}

.setup-complete-lead{
  line-height: 1.6;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.setup-verse--completion{
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

.setup-step-panel.setup-step-enter{
  animation: setupSlideIn .32s ease;
}

.setup-step-panel.setup-step-exit{
  animation: setupStepExit .18s ease forwards;
}

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

@keyframes setupSlideIn{
  from{ opacity: 0; transform: translateX(10px); }
  to{ opacity: 1; transform: translateX(0); }
}

@keyframes setupStepExit{
  from{ opacity: 1; transform: translateX(0); }
  to{ opacity: 0; transform: translateX(-8px); }
}

@media (prefers-reduced-motion: reduce){
  .setup-welcome-panel,
  .setup-step-panel.setup-step-enter,
  .setup-step-panel.setup-step-exit{
    animation: none;
  }

  .setup-progress-fill{
    transition: none;
  }
}


.setup-card{
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(44, 36, 25, .08);
}

.setup-card-header{
  background: linear-gradient(135deg, #1a3d5c 0%, #4a7c9e 100%);
  color: #fff;
  padding: 1.5rem 1.35rem 1.25rem;
}

.setup-card-header h1,
.setup-card-header .setup-lead{
  color: #fff;
}

.setup-lead{
  margin: 0;
  opacity: .92;
  line-height: 1.55;
  font-size: 1rem;
}

.setup-verse{
  margin: .75rem 0 0;
  font-size: .92rem;
  font-style: italic;
  opacity: .9;
  line-height: 1.45;
}

.setup-card-body{
  padding: 1.35rem 1.25rem 1.5rem;
}

.setup-progress{
  margin-bottom: 1.25rem;
}

.setup-progress-bar{
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
  overflow: hidden;
  margin-bottom: .65rem;
}

.setup-progress-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2, #2f8f6a), var(--brand-1, #4f46e5));
  transition: width .2s ease;
  width: 20%;
}

.setup-wizard-steps{
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .45rem;
}

.setup-wizard-steps .step-pill{
  font-size: .72rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line, #e8e2d8);
  color: var(--muted, #6b6358);
  background: #fffdf8;
}

.setup-wizard-steps .step-pill.active{
  border-color: var(--brand-1, #4f46e5);
  color: var(--text, #2c2419);
  font-weight: 700;
  background: #fff;
}

.setup-wizard-steps .step-pill.done{
  border-color: rgba(47, 143, 106, .45);
  color: #2f6f52;
}

.setup-step-panel{
  background: linear-gradient(180deg, #fffdf8, #fff);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  margin-bottom: 0;
}

.setup-step-panel h2,
.setup-step-panel .setup-step-heading{
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--text, #2c2419);
  line-height: 1.3;
}

.setup-step-subheading{
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #2c2419);
}

.setup-step-lead{
  color: var(--muted, #5c5348);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.setup-wizard-admin .setup-card-body{
  padding: 1.65rem 1.5rem 1.75rem;
}

.setup-wizard-title{
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text, #2c2419);
}

.setup-wizard-intro{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted, #5c5348);
  max-width: 38rem;
}

.setup-progress-label{
  font-size: .92rem;
  color: var(--muted, #6b6358);
}

.setup-page .form-label{
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text, #2c2419);
}

.setup-page .form-text{
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted, #6b6358);
  margin-top: .35rem;
}

.setup-page .form-control,
.setup-page .form-select{
  padding: .65rem .85rem;
  font-size: 1rem;
  line-height: 1.5;
  border-color: rgba(0, 0, 0, .14);
}

.setup-page .form-control-lg,
.setup-page .form-select-lg{
  padding: .75rem 1rem;
  font-size: 1.05rem;
}

.setup-page .form-check-label{
  font-size: 1rem;
  line-height: 1.55;
}

.setup-wizard-form .vstack.gap-4 > * + *{
  margin-top: 0;
}

.setup-page .btn-lg,
.setup-page .setup-wizard-submit{
  padding: .75rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.setup-wizard-footer{
  line-height: 1.6;
}

.setup-callout{
  border-radius: .85rem;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 162, 39, .22);
  background: linear-gradient(180deg, #fff9f0, #fff);
}

.setup-callout-info{
  border-color: rgba(47, 143, 106, .22);
  background: linear-gradient(180deg, rgba(47, 143, 106, .06), #fff);
}

.setup-guidance-list{
  margin: 0;
  padding-left: 1.15rem;
}

.setup-guidance-list li{
  margin-bottom: .45rem;
  line-height: 1.5;
}

.setup-brand-preview{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.setup-brand-preview-box{
  flex: 1 1 10rem;
  min-width: 9rem;
  border: 1px dashed rgba(0, 0, 0, .12);
  border-radius: .75rem;
  padding: .65rem;
  background: #faf8f4;
  text-align: center;
}

.setup-brand-preview-box img{
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  border-radius: .5rem;
}

.setup-brand-preview-banner img{
  width: 100%;
  max-height: 88px;
  object-fit: cover;
  border-radius: .5rem;
}

.setup-brand-preview-placeholder{
  font-size: .8rem;
  color: var(--muted);
  padding: 1rem .5rem;
}

.setup-theme-swatch{
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  vertical-align: -2px;
  margin-right: .35rem;
  border: 1px solid rgba(255,255,255,.5);
}

.setup-theme-swatch--royal{ background: #4f46e5; }
.setup-theme-swatch--forest{ background: #2f8f6a; }
.setup-theme-swatch--burgundy{ background: #a12a45; }
.setup-theme-swatch--navy{ background: #2a5aa6; }

.setup-review-list dt{
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.setup-review-list dd{
  margin-bottom: .85rem;
  font-weight: 600;
}

.setup-complete-hero{
  text-align: center;
  padding: .5rem 0 1rem;
}

.setup-complete-icon{
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: .5rem;
}

.setup-next-steps{
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fffdf8;
  padding: 1rem 1.1rem;
}

.setup-next-steps ol{
  margin: 0;
  padding-left: 1.2rem;
}

.setup-next-steps li{
  margin-bottom: .55rem;
  line-height: 1.5;
}

.setup-wizard-js .setup-step:not(.active){
  display: none;
}

body:not(.setup-wizard-js) #setupNextBtn,
body:not(.setup-wizard-js) #setupPrevBtn{
  display: none !important;
}

body:not(.setup-wizard-js) #setupSubmitBtn{
  display: inline-block !important;
}

body:not(.setup-wizard-js) .setup-step{
  margin-bottom: 1.25rem;
}

.setup-wizard-nav{
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

/* Prayer Room first-visit welcome (empty wall) */
.prayer-room-intro{
  text-align: center;
  padding: 1.35rem 1.2rem;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #fff9f0, #fff);
  border: 1px solid rgba(201, 162, 39, .2);
  box-shadow: 0 8px 22px rgba(44, 36, 25, .06);
}

.prayer-room-intro-verse{
  font-style: italic;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .65rem;
  line-height: 1.5;
}

.prayer-room-intro-title{
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.prayer-room-intro-text{
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.55;
  font-size: .98rem;
}

@media (max-width: 575.98px){
  .setup-card-header{
    padding: 1.15rem 1rem;
  }

  .setup-card-body{
    padding: 1rem .85rem 1.15rem;
  }

  .setup-step-panel{
    padding: 1rem .85rem;
  }

  .setup-wizard-steps .step-pill{
    font-size: .68rem;
  }

  .setup-launch-page{
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }

  .setup-launch-layout--wizard{
    gap: 1rem;
  }

  .setup-complete-actions .btn{
    width: 100%;
  }

  .setup-live-preview{
    margin-top: .5rem;
  }
}

@media (max-width: 991.98px){
  .setup-launch-layout--wizard{
    display: flex;
    flex-direction: column;
  }

  .setup-live-preview{
    order: -1;
    margin-bottom: .75rem;
  }
}
