/* Smart Lead Capture - Modern Lead Generation Popup Styles */
.slc-lock {
  overflow: hidden !important;
}

.slc-overlay[hidden] {
  display: none !important;
}

.slc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.slc-overlay.slc-visible {
  opacity: 1;
}

.slc-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px 24px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #0f172a;
  box-sizing: border-box;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.slc-overlay.slc-visible .slc-modal {
  transform: translateY(0) scale(1);
}

/* Reset button styling to prevent theme style bleeding */
#slc-overlay .slc-modal button {
  font-family: inherit !important;
  border: none !important;
  outline: none !important;
  box-shadow: none;
  line-height: normal;
  text-transform: none !important;
  letter-spacing: normal;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  cursor: pointer;
}

/* Close Button */
#slc-overlay .slc-modal button.slc-close {
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
}

#slc-overlay .slc-modal button.slc-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: rotate(90deg);
}

#slc-overlay .slc-modal button.slc-close svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* Header Brand / Favicon Icon */
.slc-header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.slc-icon-badge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.slc-icon-badge img.slc-favicon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.slc-icon-fallback {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slc-verified-dot {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

/* Pill Tag */
.slc-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
}

.slc-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: slc-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes slc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Typography */
.slc-modal h2 {
  margin: 0 0 8px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

.slc-copy {
  margin: 0 auto 16px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
  max-width: 350px;
}

/* Perks row */
.slc-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.slc-perk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

/* Actions Section */
.slc-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.slc-google-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  width: 100%;
  margin: 0 auto;
}

.slc-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slc-or::before,
.slc-or::after {
  content: "";
  height: 1px;
  background: #e2e8f0;
  flex: 1;
}

/* WhatsApp CTA Button */
#slc-overlay .slc-modal button.slc-whatsapp {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #25D366 !important;
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
}

#slc-overlay .slc-modal button.slc-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06f 0%, #189849 100%) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

#slc-overlay .slc-modal button.slc-whatsapp:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
}

.slc-wa-icon {
  width: 22px !important;
  height: 22px !important;
  fill: #ffffff !important;
  flex-shrink: 0;
}

/* Maybe Later Text Link */
#slc-overlay .slc-modal button.slc-later {
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 12px auto 0 !important;
  padding: 6px 14px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: all 0.16s ease !important;
}

#slc-overlay .slc-modal button.slc-later:hover {
  color: #1e293b !important;
  background: rgba(241, 245, 249, 0.8) !important;
  text-decoration: underline !important;
}

/* Privacy & Trust Disclaimer */
.slc-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 16px auto 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #94a3b8;
  max-width: 350px;
}

.slc-privacy .slc-lock-icon {
  flex-shrink: 0;
  stroke: #94a3b8;
}

.slc-privacy a {
  color: #64748b;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.slc-privacy a:hover {
  color: #0f172a;
}

/* Success Message Box */
.slc-success {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 520px) {
  .slc-overlay {
    padding: 16px 12px;
  }
  .slc-modal {
    width: 100%;
    border-radius: 20px;
    padding: 30px 18px 20px;
  }
  .slc-modal h2 {
    font-size: 21px !important;
  }
  .slc-perks {
    gap: 6px;
    font-size: 11px;
  }
}
