+:root {
  --bge-survey-accent: #ff5500;
  --bge-survey-bg: #ffffff;
  --bge-survey-border: rgba(15, 23, 42, 0.08);
  --bge-survey-muted: #64748b;
  --bge-survey-text: #0f172a;
  --bge-survey-radius-lg: 20px;
  --bge-survey-radius-md: 12px;
  --bge-survey-radius-pill: 999px;
  --bge-survey-shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.bge-sydney-survey {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
  box-sizing: border-box;
}

.bge-survey-shell {
  width: 100%;
  max-width: 860px;
}

.bge-survey-panel {
  background: radial-gradient(circle at top left, #fef2e8, #ffffff 55%),
    radial-gradient(circle at bottom right, #e0f2fe, #ffffff 60%);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  padding: 28px 24px 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .bge-survey-panel {
    padding: 36px 40px 32px;
  }
}

.bge-survey-header {
  margin-bottom: 24px;
}

.bge-survey-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bge-survey-accent);
  margin-bottom: 6px;
}

.bge-survey-title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bge-survey-text);
  margin: 0 0 8px;
}

@media (min-width: 768px) {
  .bge-survey-title {
    font-size: 34px;
  }
}

.bge-survey-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bge-survey-muted);
}

.bge-survey-subtitle strong {
  color: var(--bge-survey-text);
  font-weight: 600;
}

.bge-survey-progress {
  margin-bottom: 16px;
}

.bge-survey-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--bge-survey-muted);
}

.bge-survey-progress-step {
  font-weight: 500;
}

.bge-survey-progress-count {
  opacity: 0.85;
}

.bge-survey-progress-bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.bge-survey-progress-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #f97316, #fb923c, #22c55e);
  border-radius: inherit;
  transition: width 220ms ease-out;
}

.bge-survey-body {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 18px 14px 14px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .bge-survey-body {
    padding: 20px 20px 16px;
  }
}

.bge-survey-flow {
  min-height: 220px;
  display: flex;
  align-items: stretch;
}

.bge-survey-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.bge-survey-screen.is-active {
  opacity: 1;
  transform: translateY(0);
}

.bge-survey-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bge-survey-muted);
}

.bge-survey-question {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--bge-survey-text);
  margin: 2px 0 0;
}

@media (min-width: 768px) {
  .bge-survey-question {
    font-size: 22px;
  }
}

.bge-survey-help {
  font-size: 13px;
  line-height: 1.5;
  color: var(--bge-survey-muted);
  margin: 0;
}

.bge-survey-help em {
  font-style: normal;
  opacity: 0.9;
}

.bge-survey-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .bge-survey-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bge-survey-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--bge-survey-text);
  cursor: pointer;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out,
    background 160ms ease-out, transform 80ms ease-out;
}

.bge-survey-chip:hover {
  border-color: rgba(248, 113, 22, 0.65);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.bge-survey-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.bge-survey-chip-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bge-survey-chip-indicator {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bge-survey-chip-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: inherit;
  background: transparent;
  transition: background 160ms ease-out, transform 160ms ease-out;
}

.bge-survey-chip[data-state="checked"] {
  border-color: rgba(248, 113, 22, 0.9);
  background: radial-gradient(
      circle at top left,
      rgba(248, 250, 252, 0.9),
      rgba(255, 255, 255, 0.95)
    ),
    #ffffff;
}

.bge-survey-chip[data-state="checked"] .bge-survey-chip-indicator {
  border-color: transparent;
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.bge-survey-chip[data-state="checked"] .bge-survey-chip-indicator-dot {
  background: #ffffff;
  transform: scale(1);
}

.bge-survey-chip[data-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.bge-survey-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bge-survey-text);
  resize: vertical;
  min-height: 72px;
  box-sizing: border-box;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out,
    background 140ms ease-out;
}

.bge-survey-input:focus {
  outline: none;
  border-color: rgba(248, 113, 22, 0.9);
  box-shadow: 0 0 0 1px rgba(248, 113, 22, 0.75),
    0 14px 40px rgba(15, 23, 42, 0.16);
  background: #ffffff;
}

.bge-survey-input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.bge-survey-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--bge-survey-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--bge-survey-text);
  transition: border-color 140ms ease-out, background 140ms ease-out,
    box-shadow 140ms ease-out, transform 80ms ease-out, opacity 120ms ease-out;
}

.bge-survey-nav:hover:not(:disabled) {
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.bge-survey-nav:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

.bge-survey-nav-back {
  background: rgba(248, 250, 252, 0.9);
}

.bge-survey-nav-next {
  border-color: transparent;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #ffffff;
  padding-inline: 16px;
}

.bge-survey-nav-next:hover:not(:disabled) {
  border-color: transparent;
  background: linear-gradient(130deg, #fb923c, #f97316);
}

.bge-survey-nav-icon {
  font-size: 12px;
}

.bge-survey-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.bge-survey-meta {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--bge-survey-muted);
}

@media (max-width: 640px) {
  .bge-survey-footer {
    gap: 8px;
  }

  .bge-survey-nav {
    padding-inline: 10px;
  }
}

.bge-survey-key-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--bge-survey-muted);
}

.bge-survey-key {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 10px;
}

.bge-survey-screen--welcome {
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.bge-survey-welcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 11px;
  color: var(--bge-survey-muted);
}

.bge-survey-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bge-survey-accent);
}

.bge-survey-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .bge-survey-welcome-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bge-survey-welcome-main p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bge-survey-muted);
}

.bge-survey-welcome-main ul {
  margin: 0 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: var(--bge-survey-muted);
}

.bge-survey-welcome-main li + li {
  margin-top: 3px;
}

.bge-survey-welcome-card {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: radial-gradient(
      circle at top left,
      rgba(254, 243, 199, 0.9),
      rgba(255, 255, 255, 0.95)
    ),
    #ffffff;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--bge-survey-text);
}

.bge-survey-welcome-card strong {
  font-weight: 600;
}

.bge-survey-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bge-survey-welcome-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.bge-survey-welcome-meta {
  margin-top: 6px;
  font-size: 11px;
  color: var(--bge-survey-muted);
}

.bge-survey-note {
  font-size: 11px;
  color: var(--bge-survey-muted);
}

.bge-survey-note strong {
  color: var(--bge-survey-text);
}

.bge-survey-badge-required {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bge-survey-error {
  margin-top: 6px;
  font-size: 11px;
  color: #b91c1c;
}

.bge-survey-screen--thankyou {
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.bge-survey-confetti {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, #fefce8, #fed7aa);
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.bge-survey-thankyou-title {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: 20px;
  margin: 0;
  color: var(--bge-survey-text);
}

.bge-survey-thankyou-body {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--bge-survey-muted);
}

.bge-survey-thankyou-meta {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--bge-survey-muted);
}

