/* =========================================================================
   ODDAJPANEL.ORG — niestandardowe style (animacje, ikony, formatowanie WP)
   Tailwind utility classes ładowane są osobno (CDN lub skompilowany plik).
   ========================================================================= */

/* ---------- Reset / globalne ---------- */
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: #2D2D2D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ukryj domyślny pasek admin-bara WP, jeśli koliduje z fixed nav (opcjonalne)
   Aktywuj w wp-admin przez Customizer jeśli chcesz. */
body.admin-bar nav.site-nav-desktop {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar nav.site-nav-desktop {
    top: 46px;
  }
}

/* ---------- Lucide-style ikon (domyślnie stroke=currentColor) ---------- */
svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Animacje (przeniesione z theme.css źródłowego) ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp 0.4s ease-out; }

@keyframes bounceUpDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
.animate-bounce-hint { animation: bounceUpDown 2s ease-in-out infinite; }

/* Scrollbar hide (mobile cards scroll) */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---------- Modal "Jak to działa" ---------- */
.howto-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
@media (min-width: 640px) { .howto-modal { padding: 1.5rem; } }
.howto-modal.is-open { display: flex; }
html.howto-locked { overflow: hidden; }

/* ---------- Modyfikacje WPForms (jeśli osadzony) ---------- */
.wpforms-container .wpforms-field-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0B3F5F !important;
  margin-bottom: 6px !important;
}
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field select,
.wpforms-container .wpforms-field textarea {
  border: 2px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  background: #FAFBFA !important;
  font-size: 15px !important;
}
.wpforms-container .wpforms-field input:focus {
  border-color: #97CB50 !important;
  box-shadow: 0 0 0 3px rgba(151, 203, 80, 0.2) !important;
  outline: none !important;
}
.wpforms-container .wpforms-submit {
  background: linear-gradient(135deg, #97CB50, #6A9A32) !important;
  color: #fff !important;
  padding: 14px 32px !important;
  border-radius: 16px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1) !important;
  cursor: pointer !important;
}
.wpforms-container .wpforms-submit:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15) !important;
}

/* ---------- FAQ details strzałka ---------- */
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary { list-style: none; }

/* ---------- Iframe mapy CRM ---------- */
iframe.crm-map {
  display: block;
  border: 0;
  width: 100%;
}

/* ---------- WP edytor — reset niechcianych domyślnych styli ---------- */
.wp-content img { max-width: 100%; height: auto; }

/* ---------- Print ---------- */
@media print {
  nav, footer, .howto-modal, .mobile-bottom-nav { display: none !important; }
}
