/* AUTOFINITY PREMIUM LIGHT – komponent izolowany klasą af360-ofr. */
.af360-ofr[hidden], .af360-ofr [hidden] { display: none !important; }
.af360-ofr { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 14px; font-family: inherit; color: #1a2028; }
.af360-ofr, .af360-ofr * { box-sizing: border-box; }
.af360-ofr__backdrop { position: absolute; inset: 0; background: rgba(20, 26, 33, .66); }
.af360-ofr__dialog { position: relative; display: flex; flex-direction: column; width: min(100%, 510px); max-height: min(90dvh, 850px); max-height: min(90vh, 850px); border-radius: 15px; background: #fff; box-shadow: 0 25px 90px rgba(0,0,0,.28); overflow: hidden; outline: none; }
@supports (height: 100dvh) { .af360-ofr__dialog { max-height: min(90dvh, 850px); } }
.af360-ofr__head { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 22px 22px 12px; }
.af360-ofr__head h2 { color:#151b24; font-size: 21px; font-weight: 750; line-height: 1.2; margin: 0 0 8px; }
.af360-ofr__head p { font-size: 12.5px; color: #656b73; line-height: 1.5; margin: 0; }
.af360-ofr__close { flex: 0 0 auto; min-width: 42px; min-height: 42px; border: 1px solid #e2dfd9; border-radius: 9px; background: #f8f6f3; color: #3c4048; font-size: 24px; line-height: 1; cursor: pointer; }
.af360-ofr__form { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; margin: 0; }
.af360-ofr__scroll { overflow-y: auto; min-height: 0; padding: 7px 22px 10px; scrollbar-gutter: stable; overscroll-behavior: contain; }
.af360-ofr__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 12px; }
.af360-ofr__full { grid-column: 1 / -1; }
.af360-ofr__field { min-width: 0; }
.af360-ofr__field label { display: block; margin: 0 0 7px; font-size: 12px; line-height: 1.4; color: #252830; font-weight: 700; }
.af360-ofr__field input, .af360-ofr__field select, .af360-ofr__field textarea { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #d5d9df; border-radius: 7px; background: #fff; color: #242b36; font-family: inherit; font-size: 14px; line-height: 1.3; box-shadow: none; }
.af360-ofr__field select { padding-right: 26px; appearance: auto; -webkit-appearance: menulist; cursor: pointer; }
.af360-ofr__field textarea { min-height: 82px; resize: vertical; }
.af360-ofr__field input::placeholder, .af360-ofr__field textarea::placeholder { color: #737983; opacity: 1; }
.af360-ofr__field input:focus-visible, .af360-ofr__field select:focus-visible, .af360-ofr__field textarea:focus-visible, .af360-ofr__close:focus-visible, .af360-ofr__submit:focus-visible, .af360-ofr a:focus-visible { outline: 3px solid #ac8a48; outline-offset: 2px; }
.af360-ofr__field [aria-invalid="true"] { border-color: #b42318; }
.af360-ofr__hint { color: #727882; font-size: 11px; line-height: 1.5; margin: -7px 0 0; }
.af360-ofr__privacy { margin: 16px 0 5px; color: #606974; font-size: 11px; line-height: 1.6; }
.af360-ofr__privacy a { color: #674e20; text-decoration: underline; }
.af360-ofr__hptrap { position: absolute; height: 1px; width: 1px; top: -10000px; left: -10000px; overflow: hidden; }
.af360-ofr__status { padding: 10px 12px; margin: 10px 0 0; border-radius: 7px; font-size: 13px; line-height: 1.5; background: #f0f6ef; border: 1px solid #d1e4cc; color: #275223; }
.af360-ofr__status[data-kind="error"] { background: #fff3f1; border-color: #f0c4be; color: #9a2e22; }
.af360-ofr__foot { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 22px 17px; border-top: 1px solid #ecebe7; background: #fff; }
.af360-ofr__submit { min-height: 45px; padding: 10px 22px; font-family: inherit; background: #1c2026; border: 1px solid #1c2026; border-radius: 7px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.af360-ofr__submit:hover { background: #35312c; border-color: #35312c; }
.af360-ofr__submit:disabled { cursor: progress; opacity: .65; }
.af360-ofr__footnote { color: #66707a; font-size: 11.5px; text-align: right; line-height: 1.45; }
.af360-ofr__footnote a { font-weight: 700; white-space: nowrap; color: #1e242a; text-decoration: none; }
body.af360-ofr-open { overflow: hidden !important; }
@media (max-width: 600px) {
  .af360-ofr { padding: 0; }
  .af360-ofr__dialog { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .af360-ofr__head { padding: 18px 16px 12px; }
  .af360-ofr__head h2 { font-size: 19px; }
  .af360-ofr__scroll { padding: 7px 16px 12px; }
  .af360-ofr__grid { grid-template-columns: 1fr; gap: 13px; }
  .af360-ofr__foot { padding: 11px 16px max(12px, env(safe-area-inset-bottom)); }
  .af360-ofr__submit { flex: 1; }
  .af360-ofr__footnote { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .af360-ofr * { scroll-behavior: auto !important; } }
