/* Wybór paczkomatu InPost — style z prefiksem .inp- (dziedziczą font strony) */
.inp-orig { display: none !important; }
.inp-w { margin: 0 0 8px; position: relative; }
.inp-box { position: relative; }
.inp-box[hidden] { display: none; }
.inp-q { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: inherit; }
.inp-q:focus { outline: 2px solid #2563eb; outline-offset: 1px; border-color: #2563eb; }
.inp-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1000; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 10px 28px rgba(15,23,42,.15); max-height: 340px; overflow-y: auto; }
.inp-list[hidden] { display: none; }
.inp-opt { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 7px; cursor: pointer; color: #0f172a; line-height: 1.3; }
.inp-opt:hover, .inp-opt.is-active { background: #eff6ff; }
.inp-opt-top { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.inp-opt-addr { font-size: 14px; color: #334155; }
.inp-opt-desc { font-size: 12px; color: #64748b; }
.inp-kind { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 5px; background: #fef3c7; color: #92400e; }
.inp-kind--pop { background: #e0e7ff; color: #3730a3; }
.inp-247 { font-size: 11px; font-weight: 700; color: #15803d; }
.inp-dist { margin-left: auto; font-size: 12px; color: #64748b; white-space: nowrap; }
.inp-row { display: flex; gap: 10px; margin-top: 6px; }
.inp-row:empty { display: none; }
.inp-map[hidden], .inp-geo[hidden] { display: none !important; }
.inp-geo { background: none; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; color: #0f172a; }
.inp-geo:hover { border-color: #2563eb; background: #eff6ff; }
.inp-map { background: none; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; color: #1d4ed8; }
.inp-map:hover { border-color: #2563eb; background: #eff6ff; }
.inp-status { font-size: 13px; margin-top: 4px; }
.inp-status:empty { display: none; }
.inp-status--muted { color: #64748b; }
.inp-status--warn { color: #b45309; }
.inp-status--err { color: #b91c1c; font-weight: 600; }
.inp-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 10px; margin-top: 6px; font-size: 15px; line-height: 1.4; }
.inp-card[hidden] { display: none; }
.inp-card small { display: block; color: #64748b; font-size: 12px; }
.inp-change { background: none; border: 0; color: #2563eb; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; white-space: nowrap; padding: 0; }
.inp-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(15,23,42,.6); display: flex; align-items: center; justify-content: center; padding: 12px; }
.inp-modal-box { background: #fff; border-radius: 12px; width: 100%; max-width: 1000px; height: min(86vh, 760px); display: flex; flex-direction: column; overflow: hidden; }
.inp-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #e2e8f0; }
.inp-modal-close { background: none; border: 0; font-size: 20px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.inp-modal-body { flex: 1; min-height: 0; }
.inp-modal-body inpost-geowidget { display: block; width: 100%; height: 100%; }
body.inp-noscroll { overflow: hidden; }
@media (max-width: 600px) { .inp-modal { padding: 0; } .inp-modal-box { height: 100%; border-radius: 0; } }
/* mapa Geowidget osadzona pod polem */
.inp-mapwrap { margin-top: 10px; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #f8fafc; }
.inp-mapwrap[hidden] { display: none !important; }
.inp-maphint { font-size: 12px; color: #64748b; padding: 6px 10px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.inp-mapbox { height: 480px; }
.inp-mapbox inpost-geowidget { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) { .inp-mapbox { height: 540px; } .inp-row { flex-wrap: wrap; } }
/* tryb domyślny: tylko mapa Geowidget */
.inp-w--maponly { outline: none; }
.inp-head { font-weight: 600; margin: 0 0 6px; }
.inp-head .inp-req { color: #dc2626; }
.inp-w--maponly .inp-mapwrap { margin-top: 0; }
.inp-w--maponly .inp-card { margin-top: 8px; }
