/* wtpp-save.css — v3.7.527
 * Styles for the Save icon's popover and the exit-intent save prompt. The
 * popover reuses the shared .wtpp-header-popover frame; buttons reuse the
 * .wtpp-btn system. Token-only colours.
 */

.wtpp-save-icon-btn { position: relative; }

/* ---------- header popover ---------- */
/* Wide enough that a 300px Turnstile widget clears the 14px frame padding.
   Two-class selector overrides the frame's 320px max-width cap. */
.wtpp-header-popover.wtpp-save-popover { width: 340px; max-width: min(340px, calc(100vw - 20px)); }
.wtpp-save-head { margin-bottom: 8px; }
.wtpp-save-panel-title {
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: 'Inconsolata', 'Courier New', monospace;
  margin: 2px 0 0;
}
.wtpp-save-panel-title::after {
  content: ""; display: block; width: 26px; height: 2px; margin-top: 6px;
  background: var(--red);
}
.wtpp-save-body { font-size: 12px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; }
.wtpp-save-action { width: 100%; margin-top: 2px; }

/* ---------- exit-intent modal ---------- */
.wtpp-save-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: var(--ov-black-50, var(--ov-black-15));
}
.wtpp-save-modal {
  width: 420px; max-width: 100%;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink-muted); border-radius: 6px;
  box-shadow: 0 10px 30px var(--ov-black-15);
  padding: 22px;
  font-family: 'Inconsolata', 'Courier New', monospace;
}
.wtpp-save-modal-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 0 0 12px;
}
.wtpp-save-modal-body { font-size: 13px; line-height: 1.55; color: var(--ink); margin: 0 0 10px; }
.wtpp-save-modal-actions {
  display: flex; gap: 10px; align-items: center;
  margin-top: 16px; flex-wrap: wrap;
}
.wtpp-save-modal-primary { flex: 0 0 auto; }
.wtpp-save-modal-dismiss { flex: 0 0 auto; }

/* ---------- server-send email form (v3.7.598, SITE-32) ---------- */
.wtpp-save-form { margin-top: 4px; }
.wtpp-save-field-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em;
  font-family: 'Inconsolata', 'Courier New', monospace;
  margin: 2px 0 5px;
}
.wtpp-save-email-input {
  width: 100%; box-sizing: border-box;
  font-family: 'Inconsolata', 'Courier New', monospace; font-size: 13px;
  padding: 8px 10px; margin: 0 0 8px;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink-muted); border-radius: 4px;
}
.wtpp-save-email-input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.wtpp-save-email-input:focus {
  outline: var(--btn-focus-ring, 2px solid var(--blue)); outline-offset: 1px;
  border-color: var(--blue);
}
.wtpp-save-turnstile { margin: 2px 0 8px; min-height: 65px; max-width: 100%; display: flex; justify-content: center; }
.wtpp-save-send { width: 100%; }
.wtpp-save-status {
  font-size: 12px; line-height: 1.45; margin: 8px 0 0; min-height: 1.1em;
}
.wtpp-save-status.is-ok      { color: var(--blue); font-weight: 600; }
.wtpp-save-status.is-error   { color: var(--accent); }
.wtpp-save-status.is-pending { color: var(--ink-muted); }
.wtpp-save-note {
  font-size: 11px; line-height: 1.45; color: var(--ink-muted);
  margin: 8px 0 0;
}
.wtpp-save-note a { color: var(--ink-soft); text-decoration: underline; }
.wtpp-save-fallback {
  display: inline-block; margin-top: 8px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: 'Inconsolata', 'Courier New', monospace; font-size: 11px;
  color: var(--ink-muted); text-decoration: underline;
}
.wtpp-save-fallback:hover { color: var(--ink-soft); }

/* Exit-modal: the dismiss now sits below the form rather than in an action row. */
.wtpp-save-modal .wtpp-save-form { margin-top: 12px; }
.wtpp-save-modal-dismiss { margin-top: 14px; }
