﻿/* ============================================================
   SnapFundz — Custom styles layered on top of BestRatedLoan base
   ============================================================ */

/* ---- Logo ---- */
.sf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sf-logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; color: #111; letter-spacing: -0.3px; }
 /* hide old img if present */

/* ---- Hero with photo + overlay ---- */
.sf-hero {
  position: relative;
  padding: 80px 0 100px;
  color: #fff;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.sf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sf-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.sf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,28,100,0.85) 0%, rgba(26,86,219,0.80) 100%);
  z-index: 1;
}
.sf-hero .container {
  position: relative;
  z-index: 2;
}
.sf-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}
.sf-hero p {
  font-size: 17px;
  opacity: .88;
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.65;
  color: #fff;
}
.sf-hero .hero-stars-image { margin-bottom: 16px; }

/* ---- Sections ---- */
.sf-hiw, .sf-benefits, .sf-faq { padding: 72px 0; }
.sf-benefits { background: #f7f9fc; }

.sf-section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: #111;
}
.sf-section-sub {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 48px;
}

/* ---- How It Works ---- */
.sf-hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sf-hiw-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 1px solid #eee;
  text-align: center;
}
.sf-hiw-num {
  width: 50px;
  height: 50px;
  background: #F97316;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.sf-hiw-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.sf-hiw-card p  { font-size: 14px; color: #666; line-height: 1.7; }

/* ---- Benefits ---- */
.sf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sf-benefit {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border: 1px solid #eee;
}
.sf-benefit__icon {
  width: 50px;
  height: 50px;
  background: #F97316;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sf-benefit__icon iconify-icon { display: block; font-size: 28px; color: #fff; }
.sf-benefit h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sf-benefit p  { font-size: 13px; color: #666; line-height: 1.7; }

/* ---- Trust Bar ---- */
.sf-trust-bar {
  background: #F97316;
  color: #fff;
  padding: 40px 0;
}
.sf-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 4px;
}
.sf-trust-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.sf-trust-label {
  font-size: 13px;
  opacity: .8;
}
.sf-trust-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.25);
}

/* ---- FAQ ---- */
.sf-faq-list {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.sf-faq-item { border-bottom: 1px solid #e5e7eb; }
.sf-faq-item:last-child { border-bottom: none; }
.sf-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  text-align: left;
  transition: background .2s, color .2s;
}
.sf-faq-q:hover { background: #fff7ed; color: #F97316; }
.sf-faq-q[aria-expanded="true"] { background: #fff7ed; color: #F97316; }
.sf-faq-q[aria-expanded="true"] .sf-faq-icon { transform: rotate(180deg); }
.sf-faq-icon { flex-shrink: 0; color: #999; transition: transform .3s; }
.sf-faq-a { display: none; padding: 0 22px 18px; background: #fff7ed; }
.sf-faq-a.open { display: block; }
.sf-faq-a p { font-size: 13px; color: #555; line-height: 1.75; }
.sf-faq-a a { color: #F97316; text-decoration: underline; }

/* ---- CONSENT BLOCK (form) ---- */
.sf-consent-block {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.sf-consent-intro {
  font-size: 11.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}
.sf-consent-list {
  list-style: disc;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sf-consent-list li {
  font-size: 11px;
  color: #4b5563;
  line-height: 1.65;
}
/* LT requirement: all links blue + underlined */
.sf-consent-link {
  color: #c2410c !important;
  text-decoration: underline !important;
  font-weight: 500;
}
.sf-consent-link:hover { color: #9a3412 !important; }

/* ---- Submit button on consent step ---- */
.sf-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: 10px;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-submit-note {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
}

/* ---- Progress bar color ---- */
#progress-bar { background: #F97316; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .sf-hiw-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .sf-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-trust-bar__inner { flex-wrap: wrap; gap: 28px; }
  .sf-trust-div { display: none; }
}
@media (max-width: 600px) {
  .sf-benefits-grid { grid-template-columns: 1fr; }
  .sf-hero { padding: 48px 0 64px; min-height: 400px; }
}






/* ================================================
   FOOTER LOGO FIX — footer bg is WHITE, text must be dark
   ================================================ */
footer .sf-logo .sf-logo-text,
.footer-logo .sf-logo .sf-logo-text {
  color: #111 !important;
}
/* Remove any inline white override from HTML */
/* ================================================
   NAVBAR LOGO FIX — all breakpoints, max specificity
   ================================================ */
a.navbar__logo.sf-logo,
.navbar a.navbar__logo.sf-logo,
nav.navbar a.navbar__logo.sf-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}
a.navbar__logo.sf-logo .sf-logo-text,
.navbar a.navbar__logo.sf-logo .sf-logo-text {
  display: inline !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #111 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
@media (max-width: 768px) {
  a.navbar__logo.sf-logo,
  .navbar a.navbar__logo.sf-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
  }
}

/* ================================================
   NAVBAR LAYOUT FIX — container height + links overflow
   ================================================ */
.navbar .container {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: visible !important;
}
.navbar__links {
  float: none !important;
  position: static !important;
  overflow: visible !important;
}

/* ================================================
   UNSUBSCRIBE PAGE — input styles
   ================================================ */
.unsub-card .input-field,
.unsub-card input[type="email"],
.unsub-card input[type="tel"] {
  width: 100% !important;
  padding: 13px 16px !important;
  font-size: 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #111 !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin-bottom: 18px !important;
  transition: border-color .2s !important;
  box-shadow: none !important;
  height: auto !important;
}
.unsub-card input[type="email"]:focus,
.unsub-card input[type="tel"]:focus {
  border-color: #F97316 !important;
}
.unsub-card input[type="email"]::placeholder,
.unsub-card input[type="tel"]::placeholder {
  color: #aaa !important;
}
.unsub-card .label-text {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #374151 !important;
  margin-bottom: 7px !important;
}
.unsub-card {
  border-radius: 16px !important;
  border: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
  padding: 28px 28px 24px !important;
}
.unsub-card .btn {
  width: 100% !important;
  padding: 15px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  justify-content: center !important;
  margin-top: 4px !important;
}

/* ================================================
   LEGAL PAGES — partner-list, privacy, terms styles
   ================================================ */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}
.legal-page .updated {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: #111;
}
.legal-page p,
.legal-page li {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-page a { color: #F97316; text-decoration: underline; }
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F97316;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  text-decoration: none;
}
.legal-page .back:hover { text-decoration: underline; }
.notice-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0 28px;
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}
.notice-box a { color: #F97316; text-decoration: underline; }
.partner-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 14px;
}
.partner-table th {
  background: #f3f4f6;
  text-align: left;
  padding: 11px 14px;
  font-weight: 700;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}
.partner-table td {
  padding: 11px 14px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.partner-table tr:hover td { background: #f9fafb; }
.partner-table a { color: #F97316; text-decoration: underline; }

/* ================================================
   FULL_FORM HEADER — fix logo font
   ================================================ */
.full-form-page .navbar__logo.sf-logo .sf-logo-text,
body:has(#multi-step-wrapper) .navbar__logo.sf-logo .sf-logo-text,
.full-form .navbar__logo.sf-logo .sf-logo-text {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: #111 !important;
}

/* ================================================
   FORM REDESIGN — step card new look
   ================================================ */
.multi-step-wrapper.form-wrapper .step-card {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 40px rgba(249,115,22,0.10) !important;
  border: 1.5px solid #e8eeff !important;
  padding: 36px 40px !important;
}
.multi-step-wrapper.form-wrapper .step-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}
.multi-step-wrapper.form-wrapper .label-text {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #374151 !important;
  margin-bottom: 6px !important;
}
.multi-step-wrapper.form-wrapper .input-field {
  border-radius: 10px !important;
  border: 2px solid #e5e7eb !important;
  padding: 13px 16px !important;
  font-size: 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  transition: border-color .2s !important;
  background: #fafafa !important;
}
.multi-step-wrapper.form-wrapper .input-field:focus {
  border-color: #F97316 !important;
  background: #fff !important;
}
.multi-step-wrapper.form-wrapper .select-field {
  border-radius: 10px !important;
  border: 2px solid #e5e7eb !important;
  padding: 13px 16px !important;
  font-size: 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  background: #fafafa !important;
  appearance: auto !important;
}
.multi-step-wrapper.form-wrapper .btn.btn-next {
  background: #F97316 !important;
  border-radius: 12px !important;
  padding: 14px 36px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  box-shadow: 0 4px 16px rgba(249,115,22,.25) !important;
}
.multi-step-wrapper.form-wrapper .btn.btn-choice {
  border-radius: 12px !important;
  border: 2px solid #e5e7eb !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  background: #fafafa !important;
  transition: all .2s !important;
}
.multi-step-wrapper.form-wrapper .btn.btn-choice:hover,
.multi-step-wrapper.form-wrapper .btn.btn-choice.selected {
  background: #fff7ed !important;
  border-color: #F97316 !important;
  color: #F97316 !important;
}
.multi-step-wrapper.form-wrapper .question-text {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 20px !important;
}

/* ================================================
   FORM PAGE HEADER — fix clipped SVG logo
   ================================================ */
header,
header .navbar,
header nav.navbar {
  overflow: visible !important;
}
header .container,
header .navbar .container,
.navbar .container {
  height: auto !important;
  min-height: 64px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
/* SVG inside logo — fixed size, no clipping */
.navbar__logo.sf-logo svg,
a.navbar__logo.sf-logo svg {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  display: block !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}
/* Override width:150px which clips the flex content */
.navbar__logo.sf-logo,
a.navbar__logo.sf-logo {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

/* ================================================
   FINAL FIX — navbar container height override
   The 42px height from style.css clips the SVG
   ================================================ */
.navbar > .container {
  height: auto !important;
  min-height: 60px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* ================================================
   HERO AMOUNT PICKER — tile buttons
   ================================================ */
.sf-amount-picker {
  margin-top: 8px;
}
.sf-amount-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.sf-amount-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  max-width: 420px;
}
.sf-tile {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 10px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  backdrop-filter: blur(4px);
}
.sf-tile:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.sf-tile--selected {
  background: #fff !important;
  border-color: #fff !important;
  color: #F97316 !important;
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.sf-amount-cta {
  display: block;
  max-width: 420px;
  padding: 17px 24px;
  background: #F97316;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(249,115,22,0.4);
  margin-bottom: 14px;
}
.sf-amount-cta:hover {
  background: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.5);
}
.sf-amount-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .sf-amount-tiles { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .sf-amount-cta   { max-width: 100%; }
}

/* ================================================
   LOGO BORDER FIX — remove any outline/border on logo link
   ================================================ */
a.navbar__logo.sf-logo,
.navbar__logo.sf-logo,
.navbar a.sf-logo {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
a.navbar__logo.sf-logo:focus,
a.navbar__logo.sf-logo:focus-visible,
a.navbar__logo.sf-logo:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ================================================
   NUCLEAR LOGO FIX — override inline-block + width:150px
   from style.css that creates visible block boundary
   ================================================ */
html body header nav.navbar div.container a.navbar__logo.sf-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
  gap: 8px !important;
}

/* ================================================
   TEXT SELECTION — dark text on light bg when selected
   ================================================ */
::selection {
  background: #F97316;
  color: #fff;
}
::-moz-selection {
  background: #F97316;
  color: #fff;
}
/* Choice buttons — selected state text must be dark, not white */
.btn.btn-choice.selected,
.btn-choice.active,
.btn-choice:focus {
  color: #F97316 !important;
  background: #fff7ed !important;
}
/* Fix white text on white bg for any selected input */
input::selection, textarea::selection {
  background: #F97316;
  color: #fff;
}

/* ================================================
   MOBILE FORM CHARACTER — fix central circle position
   ================================================ */
@media (max-width: 767px) {
  .central-circle,
  #default-circle,
  #animated-circle {
    width: 280px !important;
    height: 280px !important;
    left: 50% !important;
    top: 0px !important;
    transform: translateX(-50%) !important;
  }
  /* Form wrapper needs breathing room for the circle */
  .container-progress {
    
  }
  /* Avatar — visible and centered */
  .banner-avatar.full-form {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 30px !important;
    width: 80px !important;
    height: 80px !important;
  }
  .step-top-banner {
    min-height: 0 !important;
    position: relative !important;
  }
  .bubble-text {
    display: none !important;
  }
}

/* ================================================
   MOBILE — hamburger + form character
   ================================================ */
@media (max-width: 768px) {
  /* Hamburger visible */
  .hamburger {
    display: flex !important;
    flex-shrink: 0 !important;
  }
  /* Hide desktop nav */
  .navbar__cta { display: none !important; }
}

@media (max-width: 767px) {
  /* Central circle — scale down */
  .central-circle,
  #default-circle {
    width: 280px !important;
    left: 50% !important;
    top: 0px !important;
    transform: translateX(-50%) !important;
  }
  /* Avatar centered */
  .banner-avatar.full-form {
    position: absolute !important;
    left: 50% !important;
    top: 20px !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 80px !important;
  }
  .step-top-banner { min-height: 0 !important; position: relative !important; }
  .bubble-text { display: none !important; }
  .container-progress {  }
}

/* ================================================
   MOBILE — remove gap between header and form
   ================================================ */
@media (max-width: 767px) {
  /* Progress bar — reduce top margin */
  #progress-container {
    margin-top: 1rem !important;
  }
  /* Central circle — make it smaller and less intrusive */
  .central-circle,
  #default-circle {
    width: 220px !important;
    top: 0px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 0.5 !important;
  }
  /* Step top banner — reduce height */
  .step-top-banner {
    min-height: 60px !important;
    overflow: hidden !important;
  }
  .banner-avatar.full-form {
    width: 60px !important;
    height: 60px !important;
    top: 0 !important;
  }
}

/* ================================================
   HERO — reduce excessive padding/gaps
   ================================================ */
.sf-hero {
  padding: 32px 0 40px !important;
}
.sf-hero p {
  margin-bottom: 16px !important;
}
.sf-hero h1 {
  margin-bottom: 12px !important;
}
.sf-amount-label {
  margin-bottom: 10px !important;
}
.sf-amount-tiles {
  margin-bottom: 14px !important;
  gap: 8px !important;
}
.sf-amount-cta {
  margin-bottom: 10px !important;
}
@media (max-width: 767px) {
  .sf-hero {
    padding: 24px 0 32px !important;
  }
}



/* ================================================
   BANNER — avatar centered, no extra space
   ================================================ */
.step-top-banner {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  min-height: 0 !important;
}
.banner-step-container {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 130px !important;
  padding: 0 !important;
  overflow: visible !important;
}
.banner-avatar.full-form {
  position: static !important;
  width: 100px !important;
  height: 100px !important;
  transform: none !important;
  margin: 0 !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
}
.bubble-text,
.bubble-round { display: none !important; }

/* DEMO MODE — never show loader spinner */
.loader,
.loader-container,
.loading-spinner,
#loader,
.is-loading .loader {
  display: none !important;
  visibility: hidden !important;
}

/* ================================================
   PHONE STEP — avatar + bubble layout fix
   ================================================ */
.avatar-bubble {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 16px 0 !important;
  clear: both !important;
}
.avatar-bubble .avatar-img,
.avatar-img {
  float: none !important;
  display: block !important;
  flex-shrink: 0 !important;
  width: 64px !important;
  height: 64px !important;
  margin-bottom: 0 !important;
}
.speech-bubble {
  display: flex !important;
  align-items: center !important;
  background-image: none !important;
  background: #fff7ed !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 14px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  filter: none !important;
  max-width: 260px !important;
  line-height: 1.5 !important;
}
