/* Bids for Business © 2025 | All rights reserved */
/* Digital Fingerprint: b4b-addservices-css-secure-v1 */

/* Scroll progress bar */
#scroll-progress{
  position:fixed; top:0; left:0; height:4px; width:0; z-index:60;
  background:#2563eb; transition:width .2s;
}

/* Nav underline to match site */
a.nav-link{position:relative;text-decoration:none}
a.nav-link::after{content:"";position:absolute;width:0%;height:2px;bottom:0;left:0;background-color:#2563eb;transition:width .3s ease}
a.nav-link:hover::after{width:100%}

/* Navbar shrink */
.navbar-scrolled{background:rgba(255,255,255,.95);box-shadow:0 2px 6px rgba(0,0,0,.05);border-bottom:1px solid #e5e7eb}
#main-navbar{transition:padding 200ms ease}
#main-navbar.navbar-shrink{padding-top:.15rem !important;padding-bottom:.15rem !important}
@media (min-width:1024px){
  #main-navbar.navbar-shrink{
    padding-top:.1rem !important;
    padding-bottom:.1rem !important;
  }

  /* Force override of Tailwind md:w-36 / xl:w-40 */
  #main-navbar.navbar-shrink .navbar-logo{
    width:5.5rem !important;
    max-width:5.5rem !important;
    height:auto !important;
    transition:width .3s ease, max-width .3s ease;
  }
}

/* Logo transition */
.navbar-logo{transition:all .3s ease}

/* Hamburger lines */
.hamburger span{display:block;height:2px;background:#2563eb;transition:all .3s ease}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px, 5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px, -5px)}

/* Mobile strapline (base hidden) */
.mobile-strapline{
  display:none;
  font-size:.72rem; font-weight:600; color:#2563eb;
  white-space:nowrap; line-height:1.1;
}

/* MOBILE behavior: shrink + show strapline tight to logo */
@media (max-width:640px){
  #main-navbar.navbar-shrink{
    padding-top:.05rem !important; padding-bottom:.05rem !important;
  }

  /* Real shrink on phones: make the *image* narrower (not scale) */
  #main-navbar.navbar-shrink #navbar-logo{
    width:4.7rem !important; height:auto; transform:none !important;
  }

  /* Show strapline and add a tiny nudge away from the shrunken logo */
  #main-navbar.navbar-shrink .mobile-strapline{
    display:inline-flex !important; align-items:center;
    font-size:.69rem; line-height:1.1;
    margin-left:.18rem !important; /* ← tweak this number to taste */
    white-space:nowrap;
  }

  /* Kill any accidental row gaps */
  #main-navbar .max-w-7xl.mx-auto > .flex{gap:0 !important; column-gap:0 !important}
}

/* Info cards (balanced) */
.info-card{
  background:#fff;
  border-radius:.75rem;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  transition:box-shadow .2s ease, transform .2s ease;

  /* balance + alignment */
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  text-align:center;

  /* slightly more breathing room + equal height */
  padding:1.5rem 1rem;
  min-height:220px; /* adjust to taste: 200–240px */
}

.info-card h3 {
  color:#0f172a;
  font-weight:700;
  font-size:1.1rem;
  margin:0;                     /* remove browser + Tailwind default margins */
  padding:0;
  line-height:1.25;
}

.info-card p {
  margin:0.25rem 0 0 0;         /* tiny top gap only */
  color:#374151;
  font-size:.95rem;
  line-height:1.45;
  max-width:260px;
}
.info-card svg {
  margin-bottom: 0.35rem;
}
.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}
.info-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
/* SEO chips/tags */
.chip{
  padding:.4rem .8rem; border:1px solid #dbeafe; border-radius:9999px;
  background:#fff; color:#1d4ed8; font-weight:600; font-size:.9rem;
}
.chip:hover{ background:#eff6ff }
.tag{ padding:.25rem .55rem; border-radius:.5rem; background:#eef2ff; color:#1e3a8a; }

/* Footer links */
.site-footer .footer-link { color:#1e3a8a; }
.site-footer .footer-link:hover { color:#1d4ed8; text-decoration:underline; }
/* === B4B_BIZNAME_MODAL_STYLES === */
.b4b-modal.hidden { display: none; }
.b4b-modal { position: fixed; inset: 0; z-index: 60; }
.b4b-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.b4b-modal-panel {
  position: relative; z-index: 61;
  width: min(92vw, 560px);
  margin: 10vh auto 0 auto;
  background: #fff; border-radius: .75rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  padding: 1rem 1.1rem 1rem 1.1rem;
  border: 1px solid #e5e7eb;
}
.b4b-btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: .45rem .8rem; border-radius: .5rem; font-weight:600; font-size:.9rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.b4b-btn-secondary {
  background: #eef2ff; color:#1e3a8a; border:1px solid #c7d2fe;
}
.b4b-btn-secondary:hover { background:#e0e7ff; }

/* =========================================================
   Bids for Business © 2025 | All rights reserved
   B4B Wizard UI (Add Services) — CSS Insert (v3 sticky nav + spacing + polish)
   Digital Fingerprint: b4b-addservices-wizard-css-v3
   ========================================================= */

/* ---------- Card polish ---------- */
#register-form{
  border-radius: 22px;
  border: 1px solid rgba(229,231,235,.95);
  box-shadow: 0 18px 45px rgba(17,24,39,.08);
  padding: 22px !important;
  background: #fff;
}

/* ---------- Field spacing (MORE spacing between fields) ---------- */
/* Works even if you DON'T wrap fields in .b4b-step */
#register-form #b4bWizard{
  display: flex;
  flex-direction: column;
}

/* =========================================================
   B4B: Wizard spacing (stable)
   Digital Fingerprint: b4b-provider-signup-css-wizard-spacing-v1-20260305
   ========================================================= */

#b4bWizard .b4b-step-grid > * + *{
  margin-top: 16px;
}

/* If step layout is not wrapped in .b4b-step-grid */
#b4bWizard .b4b-step > * + *{
  margin-top: 16px;
}

/* First element should not get pushed down */
#register-form #b4bWizard > :first-child{
  margin-top: 0 !important;
}

/* Keep helper text nicely spaced (but not huge) */
#register-form #b4bWizard p.text-xs,
#register-form #b4bWizard p.text-sm{
  margin-top: 8px !important;
}

/* Inputs/selects/textarea feel better */
#register-form input,
#register-form select,
#register-form textarea{
  border-radius: 14px;
  border: 1px solid #d1d5db;
  padding: 12px 12px;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
  background: #fff;
}

#register-form input:focus,
#register-form select:focus,
#register-form textarea:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

#register-form input::placeholder{
  color: rgba(107,114,128,.9);
}

/* ---------- Wizard step visibility ---------- */
.b4b-step.hidden{ display:none !important; }

/* Optional soft entry animation */
.b4b-step{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}
.b4b-step.b4b-enter{
  opacity: .01;
  transform: translateY(6px);
}

/* ---------- Services grid polish ---------- */
#provider-services-wrap{
  margin-top: 8px;
  gap: 12px !important;
}
#provider-services-wrap label{
  border-radius: 14px;
  padding: 10px 12px !important;
  border: 1px solid rgba(209,213,219,.95);
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
#provider-services-wrap label:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(17,24,39,.08);
  border-color: rgba(37,99,235,.45);
}
#provider-services-wrap input[type="checkbox"]{
  width: 16px;
  height: 16px;
}

/* ---------- Verification blocks look cleaner ---------- */
#company-number-wrap,
#bank-verify-wrap{
  background: rgba(249,250,251,.9);
  border: 1px solid rgba(229,231,235,.95);
  border-radius: 16px;
  padding: 12px 12px;
}

/* ---------- Sticky wizard nav (Back left / Next right) ---------- */
/* IMPORTANT: This assumes your wizard uses .b4b-wizard-nav container */
.b4b-wizard-nav{
  position: sticky;
  bottom: 0;
  z-index: 20;

  display: flex;
  justify-content: flex-end; /* default: single button sits on right */
  align-items: center;
  gap: 14px;

  margin-top: 18px;
  padding: 14px 12px;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(229,231,235,.95);
  border-radius: 16px;

  /* small shadow so it feels “anchored” */
  box-shadow: 0 -10px 24px rgba(17,24,39,.06);
}

.b4b-wizard-nav .b4b-btn,
.b4b-wizard-nav .b4b-btn-primary,
.b4b-wizard-nav .b4b-btn-secondary{
  width: auto !important;
  min-width: 132px !important;     /* smaller */
  border-radius: 9999px !important;
  padding: 10px 14px !important;   /* smaller */
  font-weight: 800;
  font-size: .92rem !important;    /* slightly smaller */
  letter-spacing: -0.01em;
}

/* Back */
.b4b-wizard-nav .b4b-btn-secondary{
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #111827;
}
.b4b-wizard-nav .b4b-btn-secondary:hover{
  background: #e5e7eb;
}

/* Next */
.b4b-wizard-nav .b4b-btn-primary{
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;
  box-shadow: 0 12px 26px rgba(37,99,235,.18);
}
.b4b-wizard-nav .b4b-btn-primary:hover{
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 14px 30px rgba(37,99,235,.22);
}
@media (max-width: 480px){
  .b4b-wizard-nav .b4b-btn,
  .b4b-wizard-nav .b4b-btn-primary,
  .b4b-wizard-nav .b4b-btn-secondary{
    min-width: 42% !important;
    padding: 10px 12px !important;
    font-size: .9rem !important;
  }
}
/* If a Back button exists, push it left while keeping Next/Register on the right */
.b4b-wizard-nav .b4b-btn-secondary{
  margin-right: auto;
}
/* ---------- Force Register Now to match classic blue ---------- */
#register-form button[type="submit"]{
  background: #2563eb !important;
  color: #fff !important;
  border: 1px solid #2563eb !important;
  font-weight: 800 !important;
border-radius: 9999px !important;
  padding: 12px 16px !important;
}
#register-form button[type="submit"]:hover{
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}
/* =========================================================
   B4B: Geoapify suggestions panel (tight + neat)
   Fingerprint: b4b-addservices-css-geoapify-panel-v1
   ========================================================= */

#address-suggestions{
  /* keep it tight and "panel-like" */
  margin-top: 6px !important;
  padding: 6px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(209,213,219,.95) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.12) !important;

  /* you already have max-h-32 in HTML; this improves it slightly */
  max-height: 180px !important;
  overflow-y: auto !important;

  background: #fff !important;
}

/* One address per line, tight rows, smaller text so it fits */
#address-suggestions .b4b-suggest-item{
  font-size: 0.82rem !important;
  line-height: 1.15 !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  cursor: pointer;

  white-space: nowrap !important;     /* force single line */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#address-suggestions .b4b-suggest-item:hover{
  background: rgba(37,99,235,.08) !important;
}
/* =========================================================
   B4B: Verification header styling
   Fingerprint: b4b-addservices-css-verify-header-v1
   ========================================================= */

#register-form [data-step="4"] > .b4b-step-grid > .mt-2.border-t.pt-5 > h3{
  text-align: center !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1e3a8a !important;
  margin-bottom: 12px !important;
}
/* =========================================================
   B4B: Geoapify suggestions stacking (ABOVE sticky nav)
   Digital Fingerprint: b4b-provider-signup-css-geoapify-stack-v1-20260305
   ========================================================= */

/* Only Step 2: make the input wrapper the anchor */
#register-form [data-step="2"] .relative{
  position: relative !important;
  z-index: 9998 !important;
}

/* Only Step 2: position the dropdown above the sticky nav */
#register-form [data-step="2"] #address-suggestions{
  position: absolute !important;
  left: 0; right: 0;
  top: calc(100% + 6px);
  z-index: 9999 !important;
}

/* =========================================================
   B4B Discovery Signup UI (Add Services) — CSS
   Digital Fingerprint: b4b-addservices-discovery-css-v1-2026
   ========================================================= */
.b4b-popular-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px){
  .b4b-popular-grid{ grid-template-columns: 1fr 1fr; }
}

.b4b-popular-chip{
  border: 1px solid rgba(219,234,254,1);
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(17,24,39,.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.b4b-popular-chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17,24,39,.09);
  border-color: rgba(37,99,235,.35);
}
.b4b-popular-chip .t{ font-weight: 800; color:#0f172a; font-size: .95rem; }
.b4b-popular-chip .s{ margin-top: 2px; color:#6b7280; font-size: .80rem; line-height: 1.2; }

.b4b-ring-card{
  border: 1px solid rgba(229,231,235,.95);
  border-radius: 18px;
  padding: 12px 12px;
  background: rgba(249,250,251,.85);
}
.b4b-ring-visual{
  height: 130px;
  border-radius: 16px;
  border: 1px dashed rgba(147,197,253,.85);
  background: rgba(239,246,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.b4b-ring-dot{
  width: 10px; height: 10px;
  border-radius: 9999px;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
  position: absolute;
}
.b4b-ring-circle{
  width: 70px; height: 70px;
  border-radius: 9999px;
  border: 2px solid rgba(37,99,235,.45);
  box-shadow: inset 0 0 0 999px rgba(37,99,235,.04);
  transition: width 180ms ease, height 180ms ease;
}

.b4b-live-card{
  border: 1px solid rgba(219,234,254,1);
  background: rgba(239,246,255,.55);
  border-radius: 20px;
  padding: 14px 14px;
}
.b4b-live-dot{
  width: 10px; height: 10px;
  border-radius: 9999px;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,.35);
  animation: b4bPulse 1.2s infinite;
}
@keyframes b4bPulse{
  0%{ box-shadow: 0 0 0 0 rgba(22,163,74,.35); }
  70%{ box-shadow: 0 0 0 10px rgba(22,163,74,0); }
  100%{ box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.b4b-space-pill{
  min-width: 160px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(229,231,235,.95);
  padding: 10px 10px;
}

/* =========================================================
   B4B: FAQ (simple details/summary)
   Digital Fingerprint: b4b-addservices-faq-css-v1-2026
   ========================================================= */
.b4b-faq details{
  border: 1px solid rgba(229,231,235,.95);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.b4b-faq summary{
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.b4b-faq summary::-webkit-details-marker{ display:none; }

.b4b-faq summary::after{
  content: "+";
  font-weight: 900;
  color: #2563eb;
  font-size: 1.1rem;
  line-height: 1;
}

.b4b-faq details[open] summary::after{
  content: "–";
}

.b4b-faq-a{
  margin-top: 10px;
  color: #374151;
  font-size: .95rem;
  line-height: 1.45;
}

/* =========================================================
   B4B: Industry typeahead suggestions (CANONICAL)
   Digital Fingerprint: b4b-provider-signup-css-industry-suggest-v1-2026
   ========================================================= */

#b4bIndustrySearchWrap{ position: relative; }

#b4bIndustryResults{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);

  background: #fff;
  border: 1px solid rgba(226,232,240,1);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.10);

  max-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  z-index: 9999;
}

#b4bIndustryResults.hidden{ display:none; }

#b4bIndustryResults .b4b-suggest-row{
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px 12px;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid rgba(241,245,249,1);
  cursor: pointer;
}

#b4bIndustryResults .b4b-suggest-row:last-child{ border-bottom: 0; }
#b4bIndustryResults .b4b-suggest-row:hover{ background: rgba(239,246,255,1); }

#b4bIndustryResults .b4b-suggest-title{
  font-size: 14px;
  font-weight: 800;
  color: rgba(15,23,42,1);
  line-height: 1.15;
}

#b4bIndustryResults .b4b-mark{
  background: rgba(219,234,254,1);
  color: rgba(30,64,175,1);
  padding: 0 3px;
  border-radius: 6px;
}
/* =========================================================
   B4B: Wizard step swap — prevent scroll jump
   Digital Fingerprint: b4b-provider-signup-css-scroll-anchor-fix-v1-20260305
   ========================================================= */

/* Stop browser scroll anchoring from "helping" during step swaps */
#register-form,
#b4bWizard,
.b4b-step,
.b4b-step-grid{
  overflow-anchor: none;
}
/* Bids for Business © 2026 | All rights reserved */
/* Digital Fingerprint: b4b-provider-signup-css-scroll-margin-v1-20260305 */

/* When we scroll #register-form into view, keep it below the sticky navbar */
#register-form{
  scroll-margin-top: 90px; /* adjust if your navbar is taller/shorter */
}
/* =========================================================
   B4B: Disable browser scroll anchoring globally (viewport)
   Digital Fingerprint: b4b-provider-signup-css-scroll-anchor-global-v1-20260305
   ========================================================= */
html, body{
  overflow-anchor: none;
}
/* © 2026 Bids For Business. All rights reserved
   Digital Fingerprint: b4b-live-card-mobile-tight-v1-20260305 */

@media (max-width: 640px) {
  .b4b-live-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .b4b-live-card .text-2xl {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .b4b-live-card .b4b-space-pill {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  /* stop the two columns feeling huge on mobile */
  .b4b-live-card .flex.items-start.justify-between {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}
/* © 2026 Bids For Business. All rights reserved
   Digital Fingerprint: b4b-hero-stats-ultra-compact-v1-20260305 */

/* Ultra-compact hero stat boxes (mobile only) */
@media (max-width: 640px) {
  /* tighten the grid spacing */
  .b4b-hero-stats {
    max-width: 320px;         /* keeps them neat under header */
    gap: 8px !important;      /* overrides any tailwind gap creep */
    margin-top: 8px !important;
  }

  /* shrink the card footprint hard */
  .b4b-hero-stat {
    padding: 8px 8px !important;
    border-radius: 14px !important;
    box-shadow: none !important; /* optional: makes it feel lighter */
  }

  /* icon box smaller */
  .b4b-hero-stat .h-8.w-8,
  .b4b-hero-stat .sm\:h-10.sm\:w-10 {
    height: 26px !important;
    width: 26px !important;
    border-radius: 10px !important;
  }

  /* icon itself smaller */
  .b4b-hero-stat svg {
    height: 14px !important;
    width: 14px !important;
  }

  /* big number smaller */
  .b4b-hero-stat .text-base,
  .b4b-hero-stat .sm\:text-xl {
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  /* label + sublabel tighter */
  .b4b-hero-stat .text-\[11px\],
  .b4b-hero-stat .sm\:text-sm {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  .b4b-hero-stat .text-\[10px\],
  .b4b-hero-stat .sm\:text-xs {
    font-size: 9px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

  /* reduce inner spacing */
  .b4b-hero-stat .gap-2 {
    gap: 6px !important;
  }
}
/* © 2026 Bids For Business. All rights reserved
   Digital Fingerprint: b4b-hero-stats-hard-override-v1-20260305 */

@media (max-width: 640px){
  .b4b-hero-stat [class*="h-"][class*="w-"]{
    height: 26px !important;
    width: 26px !important;
    border-radius: 10px !important;
  }
}
