/* YSLeadGen Survey / Quiz Popup Styles */

.yslg-survey-container {
  width: 100%;
  padding: 8px 0;
}

/* Professional survey form shell (templates) */
.survey-form-shell {
  max-width: 560px;
  width: 95%;
  margin: 48px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.survey-form-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  text-align: center;
}

.survey-form-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.survey-form-badge.quiz {
  color: #7c3aed;
  background: #f3e8ff;
}

.survey-form-title {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.3;
}

.survey-form-meta {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.survey-form-body {
  padding: 8px 32px 28px;
}

.survey-form-footer {
  padding: 14px 32px 22px;
  border-top: 1px solid #f3f4f6;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .survey-form-shell {
    margin: 24px auto;
  }

  .survey-form-header,
  .survey-form-body,
  .survey-form-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.yslg-survey-progress {
  position: relative;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  margin-bottom: 20px;
  overflow: hidden;
}

.yslg-survey-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.yslg-survey-progress-text {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
  text-align: center;
}

.yslg-survey-question-text {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
  line-height: 1.35;
  text-align: center;
}

.yslg-survey-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yslg-survey-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.yslg-survey-option::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yslg-survey-option:hover {
  border-color: #6366f1;
  background: #f5f3ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.yslg-survey-option:hover::before {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Published popup: no hover, focus, or active highlight on answers */
.ysleadgen-root .yslg-survey-option,
.ysleadgen-popup .yslg-survey-option,
.ysi-popup .yslg-survey-option {
  transition: none;
}

.ysleadgen-root .yslg-survey-option:hover,
.ysleadgen-root .yslg-survey-option:focus,
.ysleadgen-root .yslg-survey-option:focus-visible,
.ysleadgen-root .yslg-survey-option:active,
.ysleadgen-popup .yslg-survey-option:hover,
.ysleadgen-popup .yslg-survey-option:focus,
.ysleadgen-popup .yslg-survey-option:focus-visible,
.ysleadgen-popup .yslg-survey-option:active,
.ysi-popup .yslg-survey-option:hover,
.ysi-popup .yslg-survey-option:focus,
.ysi-popup .yslg-survey-option:focus-visible,
.ysi-popup .yslg-survey-option:active {
  border-color: #e5e7eb !important;
  background: #fff !important;
  color: #374151 !important;
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.yslg-survey-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.yslg-survey-scale-btn {
  flex: 1 1 60px;
  min-width: 56px;
  max-width: 90px;
  padding: 12px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.yslg-survey-scale-btn:hover {
  border-color: #6366f1;
  background: #f5f3ff;
}

.ysleadgen-root .yslg-survey-scale-btn,
.ysleadgen-popup .yslg-survey-scale-btn,
.ysi-popup .yslg-survey-scale-btn {
  transition: none;
}

.ysleadgen-root .yslg-survey-scale-btn:hover,
.ysleadgen-root .yslg-survey-scale-btn:focus,
.ysleadgen-root .yslg-survey-scale-btn:focus-visible,
.ysleadgen-root .yslg-survey-scale-btn:active,
.ysleadgen-popup .yslg-survey-scale-btn:hover,
.ysleadgen-popup .yslg-survey-scale-btn:focus,
.ysleadgen-popup .yslg-survey-scale-btn:focus-visible,
.ysleadgen-popup .yslg-survey-scale-btn:active,
.ysi-popup .yslg-survey-scale-btn:hover,
.ysi-popup .yslg-survey-scale-btn:focus,
.ysi-popup .yslg-survey-scale-btn:focus-visible,
.ysi-popup .yslg-survey-scale-btn:active {
  border-color: #e5e7eb !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

.yslg-survey-scale-value {
  font-size: 18px;
  font-weight: 700;
  color: #4f46e5;
}

.yslg-survey-scale-label {
  font-size: 10px;
  color: #6b7280;
  text-align: center;
  line-height: 1.2;
}

.yslg-survey-score-display {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.yslg-survey-followup {
  margin-top: 16px;
}

.yslg-survey-email-capture {
  width: 100%;
  padding: 4px 0;
}

.yslg-survey-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yslg-survey-email-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  color: #111827;
  background: #fff;
}

.yslg-survey-email-input:focus {
  outline: none;
  border-color: #6366f1;
}

.ysleadgen-root .yslg-survey-email-input:hover,
.ysleadgen-popup .yslg-survey-email-input:hover {
  border-color: #e5e7eb;
  background: #fff;
}

.yslg-survey-email-submit {
  width: 100%;
  padding: 14px 16px;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ysleadgen-root .yslg-survey-email-submit:hover,
.ysleadgen-popup .yslg-survey-email-submit:hover {
  background: #6366f1;
  color: #fff;
}

.yslg-survey-email-error {
  margin: 0;
  font-size: 13px;
  color: #dc2626;
  text-align: left;
}

@media (max-width: 600px) {
  .yslg-survey-question-text {
    font-size: 18px;
  }

  .yslg-survey-option {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* ─── Survey themes — full-color feedback forms (distinct from quiz) ─── */

/* 1. Classic — ocean trust blue, corporate NPS / CSAT feel */
.survey-form-shell.survey-theme-classic {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 55%);
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(2, 132, 199, 0.18), 0 0 0 1px rgba(14, 165, 233, 0.12);
  border: 2px solid #bae6fd;
  overflow: hidden;
}
.survey-form-shell.survey-theme-classic .survey-form-header {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 45%, #0ea5e9 100%);
  border-bottom: none;
  padding: 32px 32px 28px;
  position: relative;
}
.survey-form-shell.survey-theme-classic .survey-form-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #7dd3fc, #38bdf8);
}
.survey-form-shell.survey-theme-classic .survey-form-badge.survey {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 2px 10px rgba(3, 105, 161, 0.25);
  font-weight: 800;
}
.survey-form-shell.survey-theme-classic .survey-form-title {
  color: #fff;
  font-size: 26px;
}
.survey-form-shell.survey-theme-classic .survey-form-meta {
  color: rgba(255, 255, 255, 0.88);
}
.survey-form-shell.survey-theme-classic .survey-form-body {
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
  padding: 24px 32px 28px;
}
.survey-form-shell.survey-theme-classic .survey-form-footer {
  background: #e0f2fe;
  color: #0369a1;
  border-top: 1px solid #bae6fd;
  font-size: 12px;
}
.survey-form-shell.survey-theme-classic .yslg-survey-question-text {
  color: #0c4a6e;
}
.survey-form-shell.survey-theme-classic .yslg-survey-progress {
  background: #bae6fd;
  height: 8px;
}
.survey-form-shell.survey-theme-classic .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #0284c7, #0ea5e9);
  height: 8px;
}
.survey-form-shell.survey-theme-classic .yslg-survey-progress-text {
  color: #0369a1;
  font-weight: 600;
}
.survey-form-shell.survey-theme-classic .yslg-survey-option {
  border-color: #7dd3fc;
  background: #fff;
  border-radius: 12px;
  color: #0c4a6e;
}
.survey-form-shell.survey-theme-classic .yslg-survey-option::before {
  border-color: #38bdf8;
  background: #f0f9ff;
}
.survey-form-shell.survey-theme-classic .yslg-survey-option:hover {
  border-color: #0284c7;
  background: #e0f2fe;
}
.survey-form-shell.survey-theme-classic .yslg-survey-scale-btn {
  border-color: #7dd3fc;
  background: #fff;
  border-radius: 12px;
}
.survey-form-shell.survey-theme-classic .yslg-survey-scale-btn:hover {
  border-color: #0284c7;
  background: #e0f2fe;
}
.survey-form-shell.survey-theme-classic .yslg-survey-scale-value {
  color: #0284c7;
}
.survey-form-shell.survey-theme-classic .yslg-survey-scale-label {
  color: #0369a1;
}
.survey-form-shell.survey-theme-classic .yslg-survey-email-input {
  border-color: #7dd3fc;
  background: #fff;
}
.survey-form-shell.survey-theme-classic .yslg-survey-email-input:focus {
  border-color: #0284c7;
}
.survey-form-shell.survey-theme-classic .yslg-survey-email-submit {
  background: linear-gradient(90deg, #0284c7, #0369a1);
  border-radius: 12px;
  font-weight: 600;
}
.survey-form-shell.survey-theme-classic .yslg-survey-editor-divider {
  border-top-color: #bae6fd;
}

/* 2. Minimal — refined slate & indigo, serious feedback (not plain white) */
.survey-form-shell.survey-theme-minimal {
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(30, 41, 59, 0.14);
  border: 2px solid #cbd5e1;
  overflow: hidden;
}
.survey-form-shell.survey-theme-minimal .survey-form-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  border-bottom: none;
  text-align: left;
  padding: 28px 32px 24px;
}
.survey-form-shell.survey-theme-minimal .survey-form-badge.survey {
  color: #1e293b;
  background: linear-gradient(90deg, #e2e8f0, #f8fafc);
  border-radius: 4px;
  letter-spacing: 0.14em;
  font-weight: 800;
}
.survey-form-shell.survey-theme-minimal .survey-form-title {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  color: #f8fafc;
}
.survey-form-shell.survey-theme-minimal .survey-form-meta {
  text-align: left;
  color: #94a3b8;
}
.survey-form-shell.survey-theme-minimal .survey-form-body {
  background: #f1f5f9;
  padding: 24px 28px 28px;
}
.survey-form-shell.survey-theme-minimal .survey-form-footer {
  text-align: left;
  background: #e2e8f0;
  color: #475569;
  border-top: 2px solid #cbd5e1;
  font-size: 12px;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-question-text {
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  color: #1e293b;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-progress {
  border-radius: 2px;
  background: #cbd5e1;
  height: 6px;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #475569, #1e293b);
  border-radius: 2px;
  height: 6px;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-progress-text {
  color: #64748b;
  text-align: left;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-option {
  border-radius: 8px;
  border-color: #94a3b8;
  background: #fff;
  color: #334155;
  border-width: 1.5px;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-option::before {
  border-radius: 3px;
  border-color: #64748b;
  background: #f8fafc;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-option:hover {
  border-color: #1e293b;
  background: #f8fafc;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-scale-btn {
  border-radius: 8px;
  border-color: #94a3b8;
  background: #fff;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-scale-value {
  color: #1e293b;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-scale-label {
  color: #64748b;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-email-input {
  border-color: #94a3b8;
  border-radius: 8px;
  background: #fff;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-email-submit {
  background: #1e293b;
  border-radius: 8px;
  font-weight: 600;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-editor-divider {
  border-top-color: #cbd5e1;
}

/* 3. Warm — calm emerald wellness, friendly customer-care survey */
.survey-form-shell.survey-theme-warm {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 60%);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(5, 150, 105, 0.2);
  border: 2px solid #6ee7b7;
  overflow: hidden;
}
.survey-form-shell.survey-theme-warm .survey-form-header {
  background: linear-gradient(135deg, #047857 0%, #059669 40%, #10b981 100%);
  border-bottom: none;
  padding: 32px 32px 28px;
}
.survey-form-shell.survey-theme-warm .survey-form-badge.survey {
  color: #065f46;
  background: #fff;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.3);
  font-weight: 800;
}
.survey-form-shell.survey-theme-warm .survey-form-title {
  color: #fff;
  font-size: 26px;
}
.survey-form-shell.survey-theme-warm .survey-form-meta {
  color: rgba(255, 255, 255, 0.9);
}
.survey-form-shell.survey-theme-warm .survey-form-body {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  padding: 24px 32px 28px;
}
.survey-form-shell.survey-theme-warm .survey-form-footer {
  background: #d1fae5;
  color: #065f46;
  border-top: 1px solid #a7f3d0;
  font-size: 12px;
}
.survey-form-shell.survey-theme-warm .yslg-survey-question-text {
  color: #064e3b;
}
.survey-form-shell.survey-theme-warm .yslg-survey-progress {
  background: #a7f3d0;
  height: 8px;
}
.survey-form-shell.survey-theme-warm .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #059669, #34d399);
  height: 8px;
}
.survey-form-shell.survey-theme-warm .yslg-survey-progress-text {
  color: #047857;
  font-weight: 600;
}
.survey-form-shell.survey-theme-warm .yslg-survey-option {
  border-color: #6ee7b7;
  border-radius: 16px;
  background: #fff;
  color: #065f46;
}
.survey-form-shell.survey-theme-warm .yslg-survey-option::before {
  border-color: #34d399;
  background: #ecfdf5;
}
.survey-form-shell.survey-theme-warm .yslg-survey-option:hover {
  border-color: #10b981;
  background: #ecfdf5;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-btn {
  border-radius: 16px;
  border-color: #6ee7b7;
  background: #fff;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-btn:hover {
  border-color: #10b981;
  background: #ecfdf5;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-value {
  color: #059669;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-label {
  color: #047857;
}
.survey-form-shell.survey-theme-warm .yslg-survey-email-input {
  border-color: #6ee7b7;
  border-radius: 16px;
  background: #fff;
}
.survey-form-shell.survey-theme-warm .yslg-survey-email-input:focus {
  border-color: #10b981;
}
.survey-form-shell.survey-theme-warm .yslg-survey-email-submit {
  background: linear-gradient(90deg, #059669, #047857);
  border-radius: 16px;
  font-weight: 600;
}
.survey-form-shell.survey-theme-warm .yslg-survey-editor-divider {
  border-top-color: #a7f3d0;
}

/* Survey close buttons — themed per style */
.survey-form-shell.survey-theme-classic .ysi-close-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}
.survey-form-shell.survey-theme-minimal .ysi-close-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.survey-form-shell.survey-theme-warm .ysi-close-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

/* Survey thank-you pages inherit theme colors */
.survey-form-shell.survey-theme-classic .survey-form-header .survey-form-badge.survey,
.survey-form-shell.survey-theme-warm .survey-form-header .survey-form-badge.survey {
  color: inherit;
}
.survey-form-shell.survey-theme-classic[data-outcome-title],
.survey-form-shell.survey-theme-classic [data-outcome-title] {
  color: #fff;
}
.survey-form-shell.survey-theme-minimal .survey-form-body p {
  color: #475569;
}

/* Survey thank-you step — themed success checkmark */
.survey-form-shell.survey-theme-classic .survey-form-body > p:first-of-type {
  color: #0284c7 !important;
}
.survey-form-shell.survey-theme-classic .survey-form-body > p:last-of-type {
  color: #0369a1 !important;
}
.survey-form-shell.survey-theme-minimal .survey-form-body > p:first-of-type {
  color: #1e293b !important;
}
.survey-form-shell.survey-theme-minimal .survey-form-body > p:last-of-type {
  color: #64748b !important;
}
.survey-form-shell.survey-theme-warm .survey-form-body > p:first-of-type {
  color: #059669 !important;
}
.survey-form-shell.survey-theme-warm .survey-form-body > p:last-of-type {
  color: #047857 !important;
}

/* ─── Quiz themes (3 distinct playful styles) ─── */

/* 1. Vibrant — purple gradient, bold personality quiz */
.survey-form-shell.quiz-theme-vibrant {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.2);
  border: 2px solid #ede9fe;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-header {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  border-bottom: none;
  padding-bottom: 28px;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-badge.quiz {
  color: #5b21b6;
  background: #fff;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-title {
  color: #fff;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-meta {
  color: rgba(255, 255, 255, 0.85);
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-option {
  border-color: #ddd6fe;
  border-radius: 14px;
  font-weight: 600;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-option:hover {
  border-color: #7c3aed;
  background: #faf5ff;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-scale-value {
  color: #7c3aed;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-email-submit {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 14px;
}

/* 2. Playful — coral/orange, energetic shopping quiz */
.survey-form-shell.quiz-theme-playful {
  background: #fffbeb;
  border-radius: 20px;
  box-shadow: 0 10px 36px rgba(234, 88, 12, 0.18);
  border: 3px solid #fed7aa;
}
.survey-form-shell.quiz-theme-playful .survey-form-header {
  background: linear-gradient(180deg, #ffedd5 0%, #fffbeb 100%);
  border-bottom: 3px dashed #fdba74;
}
.survey-form-shell.quiz-theme-playful .survey-form-badge.quiz {
  color: #c2410c;
  background: #fff;
  border: 2px solid #fb923c;
  border-radius: 8px;
  transform: rotate(-2deg);
}
.survey-form-shell.quiz-theme-playful .survey-form-title {
  color: #9a3412;
  font-size: 28px;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #f97316, #ea580c);
  height: 10px;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-progress {
  height: 10px;
  background: #fed7aa;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-option {
  border-color: #fdba74;
  border-radius: 20px;
  background: #fff;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-option::before {
  border-color: #fb923c;
  background: #fff7ed;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-scale-btn {
  border-radius: 20px;
  border-color: #fdba74;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-scale-value {
  color: #ea580c;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-email-submit {
  background: #ea580c;
  border-radius: 20px;
}

/* 3. Bold — dark premium, gold accents product quiz */
.survey-form-shell.quiz-theme-bold {
  background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid #4c1d95;
  color: #e0e7ff;
}
.survey-form-shell.quiz-theme-bold .survey-form-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.survey-form-shell.quiz-theme-bold .survey-form-badge.quiz {
  color: #1e1b4b;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  font-weight: 800;
}
.survey-form-shell.quiz-theme-bold .survey-form-title {
  color: #fff;
}
.survey-form-shell.quiz-theme-bold .survey-form-meta {
  color: #a5b4fc;
}
.survey-form-shell.quiz-theme-bold .survey-form-body {
  background: transparent;
}
.survey-form-shell.quiz-theme-bold .survey-form-footer {
  color: #818cf8;
  border-top-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}
.survey-form-shell.quiz-theme-bold .yslg-survey-question-text {
  color: #fff;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-progress {
  background: rgba(255, 255, 255, 0.15);
}
.survey-form-shell.quiz-theme-bold .yslg-survey-progress-bar {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.survey-form-shell.quiz-theme-bold .yslg-survey-progress-text {
  color: #a5b4fc;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-option {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e0e7ff;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-option::before {
  border-color: #fbbf24;
  background: transparent;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-option:hover {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}
.survey-form-shell.quiz-theme-bold .yslg-survey-scale-btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.survey-form-shell.quiz-theme-bold .yslg-survey-scale-value {
  color: #fbbf24;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-scale-label {
  color: #a5b4fc;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-email-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-email-submit {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #1e1b4b;
  font-weight: 700;
}

/* Editor preview hover (not published popup) */
.yslg-survey-editor-preview .yslg-survey-option:hover,
.gjs-frame .yslg-survey-option:hover {
  border-color: inherit;
}
.survey-form-shell.survey-theme-classic .yslg-survey-editor-preview .yslg-survey-option:hover,
.survey-form-shell.survey-theme-minimal .yslg-survey-editor-preview .yslg-survey-option:hover,
.survey-form-shell.survey-theme-warm .yslg-survey-editor-preview .yslg-survey-option:hover,
.survey-form-shell.quiz-theme-vibrant .yslg-survey-editor-preview .yslg-survey-option:hover,
.survey-form-shell.quiz-theme-playful .yslg-survey-editor-preview .yslg-survey-option:hover,
.survey-form-shell.quiz-theme-bold .yslg-survey-editor-preview .yslg-survey-option:hover {
  border-color: var(--hover-border, #6366f1);
}

/* ═══════════════════════════════════════════════════════════
   Typography, fonts & layout — unique look per theme
   ═══════════════════════════════════════════════════════════ */

/* Survey 1 — Ocean Trust: Source Sans 3, centered corporate */
.survey-form-shell.survey-theme-classic {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.survey-form-shell.survey-theme-classic .survey-form-header,
.survey-form-shell.survey-theme-classic .survey-form-body,
.survey-form-shell.survey-theme-classic .survey-form-footer,
.survey-form-shell.survey-theme-classic .yslg-survey-question-text,
.survey-form-shell.survey-theme-classic .yslg-survey-progress-text {
  text-align: center;
}
.survey-form-shell.survey-theme-classic .survey-form-badge.survey {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
}
.survey-form-shell.survey-theme-classic .survey-form-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.survey-form-shell.survey-theme-classic .survey-form-meta {
  font-size: 14px;
  font-weight: 400;
}
.survey-form-shell.survey-theme-classic .yslg-survey-question-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.survey-form-shell.survey-theme-classic .yslg-survey-option {
  font-size: 15px;
  font-weight: 500;
  padding: 16px 20px;
  justify-content: center;
  text-align: center;
}
.survey-form-shell.survey-theme-classic .yslg-survey-option::before {
  display: none;
}
.survey-form-shell.survey-theme-classic .yslg-survey-scale-value {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
}
.survey-form-shell.survey-theme-classic .yslg-survey-email-submit {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}

/* Survey 2 — Slate Professional: IBM Plex Sans, left editorial */
.survey-form-shell.survey-theme-minimal {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
}
.survey-form-shell.survey-theme-minimal .survey-form-badge.survey {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 6px 10px;
}
.survey-form-shell.survey-theme-minimal .survey-form-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.survey-form-shell.survey-theme-minimal .survey-form-meta {
  font-size: 13px;
  font-weight: 400;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-question-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.45;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-option {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  letter-spacing: 0.01em;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-progress-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.survey-form-shell.survey-theme-minimal .yslg-survey-email-submit {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
}
.survey-form-shell.survey-theme-minimal .survey-form-footer {
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* Survey 3 — Calm Emerald: Nunito, soft rounded wellness */
.survey-form-shell.survey-theme-warm {
  font-family: 'Nunito', -apple-system, sans-serif;
}
.survey-form-shell.survey-theme-warm .survey-form-header,
.survey-form-shell.survey-theme-warm .survey-form-body,
.survey-form-shell.survey-theme-warm .yslg-survey-question-text,
.survey-form-shell.survey-theme-warm .yslg-survey-progress-text {
  text-align: center;
}
.survey-form-shell.survey-theme-warm .survey-form-badge.survey {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.survey-form-shell.survey-theme-warm .survey-form-title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}
.survey-form-shell.survey-theme-warm .survey-form-meta {
  font-size: 14px;
  font-weight: 600;
}
.survey-form-shell.survey-theme-warm .yslg-survey-question-text {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}
.survey-form-shell.survey-theme-warm .yslg-survey-option {
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 22px;
  justify-content: center;
}
.survey-form-shell.survey-theme-warm .yslg-survey-option::before {
  display: none;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-btn {
  border-radius: 999px;
}
.survey-form-shell.survey-theme-warm .yslg-survey-scale-value {
  font-size: 22px;
  font-weight: 800;
}
.survey-form-shell.survey-theme-warm .yslg-survey-email-submit {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.survey-form-shell.survey-theme-warm .survey-form-footer {
  font-weight: 600;
  font-size: 12px;
}

/* Quiz 1 — Vibrant Purple: Poppins, bold magazine */
.survey-form-shell.quiz-theme-vibrant {
  font-family: 'Poppins', -apple-system, sans-serif;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-header,
.survey-form-shell.quiz-theme-vibrant .survey-form-body,
.survey-form-shell.quiz-theme-vibrant .yslg-survey-question-text,
.survey-form-shell.quiz-theme-vibrant .yslg-survey-progress-text {
  text-align: center;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-badge.quiz {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 14px;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: capitalize;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-meta {
  font-size: 14px;
  font-weight: 500;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-question-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-option {
  font-size: 15px;
  font-weight: 600;
  padding: 16px 20px;
  text-align: center;
  justify-content: center;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-option::before {
  display: none;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-progress {
  height: 10px;
  border-radius: 999px;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-progress-bar {
  height: 10px;
  border-radius: 999px;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-scale-value {
  font-size: 22px;
  font-weight: 800;
}
.survey-form-shell.quiz-theme-vibrant .yslg-survey-email-submit {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quiz 2 — Playful Orange: Fredoka, fun bouncy */
.survey-form-shell.quiz-theme-playful {
  font-family: 'Fredoka', -apple-system, sans-serif;
}
.survey-form-shell.quiz-theme-playful .survey-form-header,
.survey-form-shell.quiz-theme-playful .survey-form-body,
.survey-form-shell.quiz-theme-playful .yslg-survey-question-text {
  text-align: center;
}
.survey-form-shell.quiz-theme-playful .survey-form-badge.quiz {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: rotate(-3deg);
  display: inline-block;
}
.survey-form-shell.quiz-theme-playful .survey-form-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.survey-form-shell.quiz-theme-playful .survey-form-meta {
  font-size: 15px;
  font-weight: 500;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-question-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-option {
  font-size: 16px;
  font-weight: 600;
  padding: 15px 22px;
  text-align: left;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-option::before {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  min-width: 20px;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-progress-text {
  font-weight: 600;
  font-size: 13px;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-scale-value {
  font-size: 24px;
  font-weight: 700;
}
.survey-form-shell.quiz-theme-playful .yslg-survey-email-submit {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.survey-form-shell.quiz-theme-playful .survey-form-footer {
  font-size: 12px;
  font-weight: 500;
}

/* Quiz 3 — Bold Dark: Playfair + Inter, luxury editorial */
.survey-form-shell.quiz-theme-bold {
  font-family: 'Inter', -apple-system, sans-serif;
}
.survey-form-shell.quiz-theme-bold .survey-form-header {
  text-align: center;
  padding-top: 36px;
}
.survey-form-shell.quiz-theme-bold .survey-form-badge.quiz {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9px;
  border-radius: 2px;
  padding: 6px 12px;
}
.survey-form-shell.quiz-theme-bold .survey-form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.survey-form-shell.quiz-theme-bold .survey-form-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-question-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-option {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  padding: 14px 18px;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-option::before {
  border-radius: 2px;
  width: 18px;
  height: 18px;
  min-width: 18px;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-scale-btn {
  border-radius: 4px;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-scale-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-progress-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-email-submit {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  border-radius: 4px;
}
.survey-form-shell.quiz-theme-bold .survey-form-footer {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Quiz themes — shared structural polish */
.survey-form-shell.quiz-theme-vibrant .survey-form-body,
.survey-form-shell.quiz-theme-playful .survey-form-body {
  padding: 24px 32px 28px;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-footer,
.survey-form-shell.quiz-theme-playful .survey-form-footer {
  padding: 14px 32px 22px;
  font-size: 12px;
  text-align: center;
}
.survey-form-shell.quiz-theme-vibrant .survey-form-footer {
  background: #faf5ff;
  color: #6d28d9;
  border-top: 1px solid #ede9fe;
}
.survey-form-shell.quiz-theme-playful .survey-form-footer {
  background: #ffedd5;
  color: #c2410c;
  border-top: 3px dashed #fdba74;
}
.survey-form-shell.quiz-theme-bold .yslg-survey-question-text,
.survey-form-shell.quiz-theme-bold .yslg-survey-progress-text {
  text-align: center;
}
.survey-form-shell.quiz-theme-vibrant .ysi-close-btn,
.survey-form-shell.quiz-theme-playful .ysi-close-btn {
  border-radius: 50% !important;
  font-weight: 700 !important;
}
.survey-form-shell.quiz-theme-bold .ysi-close-btn {
  border-radius: 4px !important;
  font-weight: 400 !important;
}

/* ═══ Template iframe preview — polished popup card (picker + campaign) ═══ */
body.template-preview-mode.survey-quiz-preview-mode {
  background: #eef2f7 !important;
  min-height: 100vh;
}

body.template-preview-mode.survey-quiz-preview-mode .template-wrapper,
body.template-preview-mode.survey-quiz-preview-mode .template-content {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

body.template-preview-mode.survey-quiz-preview-mode .survey-form-shell {
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 480px !important;
  flex-shrink: 0;
}

body.template-preview-mode.survey-quiz-preview-mode .survey-form-shell .ysi-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: default !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
  z-index: 5;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.template-preview-mode.survey-quiz-preview-mode .survey-form-header {
  padding-top: 36px;
}

body.template-preview-mode.survey-quiz-preview-mode .survey-form-footer {
  display: block;
}

body.template-preview-mode.survey-quiz-preview-mode .yslg-survey-template-preview {
  width: 100%;
}

body.template-preview-mode.survey-quiz-preview-mode .yslg-survey-template-preview .yslg-survey-question-text {
  margin-bottom: 16px;
}

/* Published + preview: white circular close on themed shells */
.survey-form-shell.survey-theme-classic .ysi-close-btn,
.survey-form-shell.survey-theme-warm .ysi-close-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
}

.survey-form-shell.quiz-theme-vibrant .ysi-close-btn {
  background: #fff !important;
  color: #5b21b6 !important;
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.2) !important;
}

.survey-form-shell.quiz-theme-playful .ysi-close-btn {
  background: #fff !important;
  color: #c2410c !important;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.15) !important;
}

/* ─── Custom form colors (editor + live site) ─── */
.survey-form-shell.yslg-c-body .survey-form-body {
  background: var(--yslg-form-body-bg) !important;
}
.survey-form-shell.yslg-c-header .survey-form-header {
  background: var(--yslg-form-header-bg) !important;
}
.survey-form-shell.yslg-c-header-title .survey-form-title {
  color: var(--yslg-form-header-title) !important;
}
.survey-form-shell.yslg-c-header-meta .survey-form-meta {
  color: var(--yslg-form-header-meta) !important;
}
.survey-form-shell.yslg-c-badge-bg .survey-form-badge {
  background: var(--yslg-form-badge-bg) !important;
}
.survey-form-shell.yslg-c-badge-text .survey-form-badge {
  color: var(--yslg-form-badge-text) !important;
}
.survey-form-shell.yslg-c-accent .yslg-survey-progress-bar {
  background: var(--yslg-form-accent) !important;
}
.survey-form-shell.yslg-c-accent .yslg-survey-email-submit {
  background: var(--yslg-form-accent) !important;
}
.survey-form-shell.yslg-c-question .yslg-survey-question-text {
  color: var(--yslg-form-question) !important;
}
.survey-form-shell.yslg-c-option-bg .yslg-survey-option,
.survey-form-shell.yslg-c-option-bg .yslg-survey-scale-btn {
  background: var(--yslg-form-option-bg) !important;
}
.survey-form-shell.yslg-c-option-border .yslg-survey-option,
.survey-form-shell.yslg-c-option-border .yslg-survey-scale-btn {
  border-color: var(--yslg-form-option-border) !important;
}
.survey-form-shell.yslg-c-option-border .yslg-survey-option::before {
  border-color: var(--yslg-form-option-border) !important;
}
.survey-form-shell.yslg-c-accent .yslg-survey-scale-value {
  color: var(--yslg-form-accent) !important;
}
.survey-form-shell.yslg-c-footer-bg .survey-form-footer {
  background: var(--yslg-form-footer-bg) !important;
}
.survey-form-shell.yslg-c-footer-text .survey-form-footer {
  color: var(--yslg-form-footer-text) !important;
}

/* Plain white form (reset to defaults) */
.survey-form-shell.yslg-form-plain {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  color: #000000;
}
.survey-form-shell.yslg-form-plain .survey-form-header {
  border-bottom: 1px solid #e5e7eb !important;
}
.survey-form-shell.yslg-form-plain .survey-form-header::after {
  display: none !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-progress {
  background: #e5e7eb !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-progress-text {
  color: #000000 !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-scale-value {
  color: #000000 !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-scale-label {
  color: #333333 !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-option {
  color: #000000 !important;
}
.survey-form-shell.yslg-form-plain .yslg-survey-email-submit {
  color: #ffffff !important;
}
.survey-form-shell.yslg-form-plain .ysi-close-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #d1d5db !important;
}

/* NPS 0–10 scale */
.yslg-survey-nps {
  margin-top: 8px;
}

.yslg-survey-nps-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.yslg-survey-nps-btn {
  flex: 1 1 36px;
  min-width: 36px;
  max-width: 52px;
  padding: 10px 4px;
  border: 2px solid var(--yslg-form-option-border, #d1d5db);
  border-radius: 8px;
  background: var(--yslg-form-option-bg, #ffffff);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.yslg-survey-nps-btn:hover,
.yslg-survey-nps-btn:focus {
  border-color: var(--yslg-form-accent, #2563eb);
  background: rgba(37, 99, 235, 0.06);
}

.yslg-survey-nps-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--yslg-form-question, #111827);
}

.yslg-survey-nps-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--yslg-form-header-meta, #6b7280);
}

/* Inline embedded survey/NPS forms */
.ysleadgen-form.yslg-survey-form-embed {
  max-width: 100%;
}

.ysleadgen-form.yslg-survey-form-embed .yslg-page-1 {
  display: none;
}

.ysleadgen-form.yslg-survey-form-embed .survey-form-shell {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.ysleadgen-form.yslg-survey-form-embed .yslg-survey-form-wrap {
  max-width: 640px;
  width: 100%;
  margin: 24px auto;
}
