/* Flyspot Eventy – popup „Zapytaj o termin” v2.1 (WPForms)
   Kolory i font wg Brandbooka Flyspot (09.2026): amarant #e50056, antracyt #404040, kobalt #1f4da4, Archivo.
   Pola formularza stylują się z ustawień WPForms, tu są tylko dopasowania do popupu. */
.fs-pop{
  --pop-accent:#e50056; --pop-accent-ink:#fff; --pop-accent-soft:#fde6ef; --pop-cobalt:#1f4da4;
  --pop-ink:#404040; --pop-muted:#6b6b6b; --pop-font:'Archivo', Arial, sans-serif; --pop-bg:#fff; --pop-radius:16px;
  border:0; padding:0; margin:auto;
  width:min(680px, calc(100% - 32px)); max-height:calc(100dvh - 32px);
  border-radius:var(--pop-radius); background:var(--pop-bg); color:var(--pop-ink);
  box-shadow:0 24px 60px rgba(0,0,0,.35); font-family:var(--pop-font); overflow:auto; overscroll-behavior:contain;
}
.fs-pop::backdrop{ background:rgba(31,77,164,.55); backdrop-filter:blur(3px); }
html.fs-pop-open{ overflow:hidden; }
.fs-pop[open]{ animation:fsPopIn .22s ease-out; }
@keyframes fsPopIn{ from{opacity:0; transform:translateY(12px);} to{opacity:1; transform:none;} }
@media (prefers-reduced-motion:reduce){ .fs-pop[open]{ animation:none; } }

.fs-pop *, .fs-pop *::before, .fs-pop *::after{ box-sizing:border-box; }
.fs-pop-in{ position:relative; padding:28px 28px 24px; }
.fs-pop-x{
  position:absolute; top:12px; right:12px; z-index:2; width:40px; height:40px; padding:0;
  border:0; border-radius:50%; background:transparent; color:var(--pop-muted);
  font-size:28px; line-height:1; cursor:pointer;
}
.fs-pop-x:hover{ background:#f1f2f5; color:var(--pop-ink); }
.fs-pop-x:focus-visible{ outline:3px solid var(--pop-accent); outline-offset:2px; }

.fs-pop-head{ display:flex; gap:16px; align-items:center; margin:0 44px 16px 0; }
.fs-pop-head img{ width:64px; height:64px; flex:none; border-radius:50%; object-fit:cover; object-position:50% 18%; }
.fs-pop-head h2{ margin:0 0 4px; font-family:var(--pop-font); font-weight:800; font-size:1.5rem; line-height:1.15; color:var(--pop-ink); text-transform:uppercase; letter-spacing:.01em; }
.fs-pop-head p{ margin:0; color:var(--pop-muted); font-size:.95rem; line-height:1.45; }

.fs-pop-pkg{ margin:0 0 8px; padding:9px 12px; border-radius:10px; background:var(--pop-accent-soft); font-size:.9rem; }

/* WPForms w popupie */
.fs-pop .wpforms-container{ margin:0 !important; }
.fs-pop .wpforms-field.fs-ukryte{ display:none !important; }
.fs-pop .wpforms-form, .fs-pop .wpforms-form input, .fs-pop .wpforms-form select, .fs-pop .wpforms-form textarea, .fs-pop .wpforms-form button{ font-family:var(--pop-font) !important; }
.fs-pop .wpforms-form input, .fs-pop .wpforms-form select, .fs-pop .wpforms-form textarea{ font-size:16px; } /* bez zoomu na iOS */
.fs-pop .wpforms-form input:focus, .fs-pop .wpforms-form select:focus, .fs-pop .wpforms-form textarea:focus{ border-color:var(--pop-accent) !important; box-shadow:0 0 0 3px rgba(229,0,86,.18) !important; }
.fs-pop .wpforms-form a{ color:var(--pop-cobalt); }
.fs-pop .wpforms-submit-container{ padding-top:12px !important; }
.fs-pop .wpforms-form button[type="submit"]{
  width:100%; min-height:50px; border-radius:999px;
  background:var(--pop-accent) !important; color:var(--pop-accent-ink) !important; font-weight:800; text-transform:uppercase; letter-spacing:.02em;
}
.fs-pop .wpforms-confirmation-container-full{ margin:8px 0 0; border-radius:12px; }

[hidden]{ display:none !important; }

@media (max-width:560px){
  .fs-pop{ width:100%; max-width:100%; height:100dvh; max-height:100dvh; border-radius:0; }
  .fs-pop-in{ padding:20px 16px 24px; }
  .fs-pop-head img{ width:52px; height:52px; }
  .fs-pop-head h2{ font-size:1.3rem; }
}
