/* MSW Forms Ultra HD — wspolny czytelny styl dla formularzy frontendowych.
   Nie ingeruje w wp-admin, logowanie, checkout ani pola wyszukiwania. */
body .mswform-unified {
  --mswform-bg: #06172d;
  --mswform-bg2: #09253f;
  --mswform-border: #20618f;
  --mswform-focus: #36dcff;
  --mswform-text: #ebf8ff;
  --mswform-muted: #b4d2e8;
  color: var(--mswform-text);
  color-scheme: dark;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body .mswform-unified.mswform-card {
  border: 1px solid var(--mswform-border) !important;
  border-radius: 16px !important;
  padding: clamp(16px, 3vw, 30px) !important;
  background: linear-gradient(150deg,#08233e,#041528) !important;
  box-shadow: 0 12px 38px #0012284d, inset 0 1px #53cfff13;
}
body .mswform-unified *,body .mswform-unified *::before,body .mswform-unified *::after{box-sizing:border-box}
body .mswform-unified :is(label, legend, .mswform-label){color:var(--mswform-text);overflow-wrap:anywhere}
body .mswform-unified :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="submit"]):not([type="button"]),textarea,select){
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  height:auto;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--mswform-border) !important;
  border-radius:10px !important;
  background:var(--mswform-bg) !important;
  color:var(--mswform-text) !important;
  -webkit-text-fill-color:var(--mswform-text);
  box-shadow:inset 0 0 0 1px #0a345b24 !important;
  text-shadow:none;
  font-family:Inter,'Segoe UI',Arial,sans-serif;
  font-size:clamp(14px,1vw,16px) !important;
  font-weight:500;
  line-height:1.55;
  letter-spacing:.005em;
  opacity:1 !important;
  caret-color:var(--mswform-focus);
  transition:background-color .15s,border-color .15s,box-shadow .15s;
}
body .mswform-unified :is(textarea){min-height:116px !important;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
body .mswform-unified :is(input,textarea)::placeholder{color:#a6c1d8!important;-webkit-text-fill-color:#a6c1d8;opacity:1!important}
body .mswform-unified :is(input,textarea,select):focus-visible{outline:2px solid #24c7ff!important;outline-offset:2px;box-shadow:0 0 0 4px #00aaff25!important}
body .mswform-unified select option{background:#08203b!important;color:#eaf7ff!important}
body .mswform-unified :is(input[type="checkbox"],input[type="radio"]){accent-color:#06cfff}
body .mswform-unified :is(button[type="submit"],input[type="submit"]):not(.mswspa-btn){
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;
  border:1px solid #129ffb!important;border-radius:10px!important;color:#fff!important;
  background:linear-gradient(110deg,#075aff,#06c5f2)!important;
  box-shadow:0 5px 19px #087dff36;font-size:14px!important;font-weight:800;white-space:normal;
  text-align:center;max-width:100%;cursor:pointer;
}
body .mswform-unified :is(pre, .msw-message-preview, [id*="preview"], [class*="message-preview"]):not(input):not(textarea):not(select){
  max-width:100%;min-width:0;display:block;
  margin:0;padding:16px 18px;
  border:1px solid #20618f !important;
  border-radius:10px !important;
  background:linear-gradient(145deg,#041529,#082947) !important;
  color:#e9f7ff !important;
  -webkit-text-fill-color:#e9f7ff!important;
  font:500 clamp(13px,1vw,15px)/1.72 ui-monospace,SFMono-Regular,Consolas,monospace !important;
  white-space:pre-wrap !important;overflow-wrap:anywhere !important;word-break:normal;
  box-shadow:inset 0 1px #5ecffa14!important;
  text-shadow:none!important;
}
body .mswform-unified [role="status"]{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
body .mswform-unified ::selection{background:#1574be;color:#fff}
@media(max-width:640px){body .mswform-unified.mswform-card{padding:15px!important}body .mswform-unified :is(pre,.msw-message-preview,[id*="preview"]){padding:13px!important}body .mswform-unified :is(input,textarea,select){font-size:16px!important}}
@media(prefers-reduced-motion:reduce){body .mswform-unified *{transition:none!important}}
