/* =========================================================
   Sign-up flow styles
   ========================================================= */

/* ---------- signup layout reset ---------- */
/* signup.css is only loaded on signup templates, so it's safe to neutralise
   the default app shell layout for this flow */
body .outer-container {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body .inner-container {
  display: block !important;
}

body .inner-container .site-container {
  padding-bottom: 0 !important;
}

body .site-container > main.container-fluid.py-5.text-center {
  padding: 0 !important;
}

/* Disable default shell fade animation on signup screen transitions */
html:not(.loaded) .outer-container,
html:not(.loaded) footer {
  opacity: 1 !important;
  top: 0 !important;
}

.outer-container,
footer {
  transition: none !important;
}

/* ---------- page wrapper ---------- */
.su-page {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 9%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 52%, rgba(255, 255, 255, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 13% 78%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 84%, rgba(255, 255, 255, 0.14) 0 1.5px, transparent 2.5px);
  font-family: var(--su-font);
  padding: 24px 16px;
}

/* ---------- card shell ---------- */
.su-card {
  width: 100%;
  max-width: 400px;
  background: var(--su-dark-grey);
  border-radius: 16px;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 600px;
}

/* ---------- back link ---------- */
.su-back {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--su-white);
  font-family: var(--su-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.su-back:hover {
  opacity: 0.7;
}

/* ---------- logo ---------- */
.su-logo {
  width: 100%;
  max-width: 170px;
  margin: 16px auto 24px;
  display: block;
}

/* ---------- progress dots ---------- */
.su-progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.su-progress__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.su-progress__dot.is-active {
  background: var(--su-green);
}
.su-progress__dot.is-done {
  background: var(--su-white);
}

/* ---------- question text ---------- */
.su-question {
  color: var(--su-white);
  font-family: var(--su-font);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 32px;
  max-width: 320px;
}

/* ---------- answer option buttons ---------- */
.su-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 340px;
}

.su-option {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--su-green);
  border-radius: 6px;
  background: transparent;
  color: var(--su-white);
  font-family: var(--su-font);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.su-option:hover,
.su-option:focus {
  background: var(--su-green);
  color: #000;
}

/* ---------- response / answer screen ---------- */
.su-response-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

.su-response-img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.su-response-img img {
  width: 100%;
  display: block;
}

.su-response-heading {
  color: var(--su-green);
  font-family: var(--su-font);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin-bottom: 14px;
}

.su-response-text {
  color: var(--su-white);
  font-family: var(--su-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 24px;
}

/* ---------- primary CTA button ---------- */
.su-btn {
  display: block;
  width: 100%;
  max-width: 340px;
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  background: var(--su-green);
  color: #000;
  font-family: var(--su-font);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity 0.15s;
  margin-top: auto;
}
.su-btn:hover {
  background: #B545D8;
  color: #fff;
  opacity: 1;
  text-decoration: none !important;
}

/* outline variant */
.su-btn--outline {
  background: #000;
  border: 1.5px solid var(--su-green);
  color: var(--su-green);
}
.su-btn--outline:hover {
  background: #000;
  color: var(--su-green);
  opacity: 0.9;
  text-decoration: none !important;
}

/* grey / muted variant (for Continue on offer) */
.su-btn--muted {
  background: rgba(255,255,255,0.15);
  color: var(--su-white);
}
.su-btn--muted:hover {
  background: rgba(255,255,255,0.25);
  text-decoration: none !important;
}

/* ---------- utility ---------- */
.su-spacer {
  flex: 1;
}

@media (max-width: 370px) {
  .su-page {
    padding: 12px 0;
  }
}
