/* Pro'98 Signaal takeover – minimal styling + mobile overflow fix */

.pro98-wrap { max-width: 860px; margin: 0 auto; }
.pro98-intro { margin-bottom: 18px; }
.pro98-sub { margin-top: 10px; }

.pro98-steps { display: flex; gap: 12px; flex-wrap: wrap; }
.pro98-step { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; }
.pro98-ico { font-size: 18px; line-height: 1; }

.pro98-notice { padding: 12px 14px; border-radius: 12px; margin: 10px 0 16px; }
.pro98-notice--ok { border: 1px solid rgba(0,0,0,.12); }
.pro98-notice--err { border: 1px solid rgba(0,0,0,.25); }

/* After-submit area (shown when form is hidden) */
.pro98-after { margin: 12px 0 22px; }
.pro98-after .pro98-btn { font-weight: 600; }

.pro98-form { margin-top: 10px; }
.pro98-fieldset { border: 1px solid rgba(0,0,0,.12); border-radius: 14px; padding: 14px; margin: 14px 0; }
.pro98-fieldset > legend { padding: 0 8px; }
.pro98-row { margin: 12px 0; }

.pro98-row label { display: block; margin: 0 0 6px; font-weight: 600; }
.pro98-row input[type="text"],
.pro98-row input[type="email"],
.pro98-row input[type="tel"],
.pro98-row input[type="url"],
.pro98-row input[type="number"],
.pro98-row input[type="search"],
.pro98-row select,
.pro98-row textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
}

.pro98-row textarea { resize: vertical; min-height: 140px; }

.pro98-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; }
.pro98-check input { margin-top: 3px; }
.pro98-check--small { font-size: 0.95em; opacity: .95; }

.pro98-hint { margin: 8px 0 10px; opacity: .9; }
.pro98-loc-controls { margin: 10px 0; display: flex; gap: 10px; flex-wrap: wrap; }

.pro98-btn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: transparent;
  cursor: pointer;
}

.pro98-map { width: 100%; height: 560px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,.12); }
.pro98-loc-result { margin-top: 8px; opacity: .9; }

.pro98-submit {
  display: inline-block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.18);
  cursor: pointer;
}

/* Location toggle (button + panel). No-JS: panel is visible. JS: panel collapses. */
.pro98-loc-toggle { margin-top: 6px; }
.pro98-btn--toggle { font-weight: 600; }
.js .pro98-loc-panel { display: none; }
.js .pro98-loc-panel.is-open { display: block; }
.pro98-loc-panel { padding-top: 10px; }

/* Backward compatibility: details layout */
.pro98-details > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
  list-style: none;
}
.pro98-details > summary::-webkit-details-marker { display: none; }
.pro98-details__inner { padding-top: 8px; }

/* Mobile overflow fix scoped to this page */
.pro98-wrap, .pro98-wrap * { box-sizing: border-box; }
.pro98-wrap { max-width: 100%; overflow-x: hidden; }
.pro98-wrap img, .pro98-wrap svg, .pro98-wrap iframe { max-width: 100%; height: auto; }

@media (max-width: 600px) {
  .pro98-step { width: 100%; }
  .pro98-map { height: 480px; }
}


/* --- UX polish (v0.1.6) --- */
/* Default spacing so content doesn't sit flush under (sticky) headers; JS can override when needed. */
.pro98-wrap { margin-top: 20px; }

/* Progressive enhancement: only collapse feedback fields when JS is available */
.js .pro98-feedback-fields { display: none; }
.js .pro98-feedback-fields.is-open { display: block; }


/* Turnstile */
.pro98-turnstile .cf-turnstile { max-width: 100%; }
.pro98-turnstile iframe { max-width: 100%; }
