/*
 * exit-intent-1558940.css — Task #1558940
 * Owns: #sr-ei-1558940-overlay — exit-intent popup "Wait — You Might Be Owed Money"
 * Does NOT own: any other popup, sticky bars, conversion popups
 */

/* ── Overlay backdrop ─────────────────────────────────────────────── */
#sr-ei-1558940-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10100;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: srEi1558940FadeIn 0.25s ease both;
}
#sr-ei-1558940-overlay.is-visible {
  display: flex;
}

@keyframes srEi1558940FadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Modal card ───────────────────────────────────────────────────── */
#sr-ei-1558940-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 32px;
  box-sizing: border-box;
  animation: srEi1558940SlideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes srEi1558940SlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Close button ────────────────────────────────────────────────── */
#sr-ei-1558940-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  line-height: 1;
}
#sr-ei-1558940-close:hover {
  background: #e5e7eb;
  color: #111827;
}

/* ── Eyebrow badge ────────────────────────────────────────────────── */
.sr-ei-1558940-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 12px;
}
.sr-ei-1558940-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00875A;
  animation: srEi1558940Pulse 2s ease infinite;
}
@keyframes srEi1558940Pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.25); }
}

/* ── Headline ─────────────────────────────────────────────────────── */
.sr-ei-1558940-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: #0A0A0A;
  margin: 0 0 10px;
}
.sr-ei-1558940-headline em {
  font-style: normal;
  color: #00875A;
}

/* ── Subheadline ─────────────────────────────────────────────────── */
.sr-ei-1558940-sub {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 24px;
}

/* ── CTA buttons container ───────────────────────────────────────── */
.sr-ei-1558940-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

/* Primary CTA — green button */
.sr-ei-1558940-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #00875A;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.3;
}
.sr-ei-1558940-btn-primary:hover {
  background: #006B4D;
  transform: translateY(-1px);
}
.sr-ei-1558940-btn-primary:active {
  transform: translateY(0);
}

/* Secondary CTA — show email form toggle */
.sr-ei-1558940-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: #00875A !important;
  border: 2px solid #00875A;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none !important;
  line-height: 1.3;
}
.sr-ei-1558940-btn-secondary:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}

/* ── Email capture sub-panel ─────────────────────────────────────── */
#sr-ei-1558940-email-panel {
  margin-top: 4px;
}
#sr-ei-1558940-email-panel.is-hidden {
  display: none;
}

.sr-ei-1558940-email-row {
  display: flex;
  gap: 8px;
}
.sr-ei-1558940-email-input {
  flex: 1;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  min-width: 0;
}
.sr-ei-1558940-email-input:focus {
  border-color: #00875A;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.12);
}
.sr-ei-1558940-email-submit {
  background: #00875A;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.sr-ei-1558940-email-submit:hover {
  background: #006B4D;
}
.sr-ei-1558940-email-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ── Error message ────────────────────────────────────────────────── */
.sr-ei-1558940-error {
  display: none;
  color: #dc2626;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
}
.sr-ei-1558940-error.is-visible {
  display: block;
}

/* ── Success state ────────────────────────────────────────────────── */
#sr-ei-1558940-success {
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}
#sr-ei-1558940-success.is-visible {
  display: block;
}
.sr-ei-1558940-success-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}
.sr-ei-1558940-success-headline {
  font-size: 15px;
  font-weight: 700;
  color: #047857;
  margin: 0 0 4px;
}
.sr-ei-1558940-success-sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* ── Dismiss link ─────────────────────────────────────────────────── */
.sr-ei-1558940-dismiss {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
  width: 100%;
  margin-top: 8px;
}
.sr-ei-1558940-dismiss:hover {
  color: #6b7280;
  text-decoration-color: #9ca3af;
}

/* ── Trust bar ────────────────────────────────────────────────────── */
.sr-ei-1558940-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 14px;
}
.sr-ei-1558940-trust-dot {
  font-size: 5px;
  opacity: 0.5;
}

/* ── Mobile bottom-sheet style ────────────────────────────────────── */
@media (max-width: 480px) {
  #sr-ei-1558940-overlay {
    align-items: flex-end;
    padding: 0;
  }
  #sr-ei-1558940-card {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 28px;
    animation: srEi1558940SlideUpMobile 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }
  @keyframes srEi1558940SlideUpMobile {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .sr-ei-1558940-headline {
    font-size: 24px;
  }
  .sr-ei-1558940-email-row {
    flex-direction: column;
  }
  .sr-ei-1558940-email-submit {
    width: 100%;
  }
}
