/* Obecné zaujímavosti – v1.98 oprava Leaflet mapy vo formulári */
.oz196-submit-heading {
  align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid rgba(31, 112, 74, .14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 10%, rgba(47, 113, 199, .11), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,248,243,.96));
  box-shadow: 0 18px 46px rgba(16, 34, 53, .10);
}
.oz196-submit-heading h1 { color: #102235; }
.oz196-lead { max-width: 780px; margin: .55rem 0 0; color: #536a61; font-size: 1.02rem; }
.oz196-review-notice {
  margin: 18px 0 22px;
  border: 1px solid rgba(47, 113, 199, .20);
  border-left: 5px solid #2f71c7;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f8ff, #f8fbff);
  box-shadow: 0 8px 22px rgba(16, 34, 53, .06);
}
.oz196-form { display: grid; gap: 20px; max-width: 1140px; margin: 0 auto 2.5rem; }
.oz196-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,249,.98));
  border: 1px solid rgba(31, 112, 74, .16);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 38px rgba(16, 34, 53, .09);
}
.oz196-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2f71c7, #378c59);
}
.oz196-card h2 { margin: 0 0 .55rem; color: #102235; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.oz196-card > p { margin-top: 0; color: #607267; }
.oz196-grid { display: grid; gap: 1rem; }
.oz196-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oz196-location-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; }
.oz196-form label { display: grid; gap: .45rem; font-weight: 750; color: #21372e; }
.oz196-form input[type="text"],
.oz196-form input[type="email"],
.oz196-form input[type="url"],
.oz196-form select,
.oz196-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 112, 74, .24);
  border-radius: 14px;
  padding: .78rem .88rem;
  background: #fff;
  color: #172b38;
  font: inherit;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.oz196-form textarea { resize: vertical; }
.oz196-form input[readonly] { background: #f0f5f1; color: #53645a; }
.oz196-form input:focus,
.oz196-form select:focus,
.oz196-form textarea:focus {
  outline: 3px solid rgba(55, 140, 89, .16);
  border-color: #378c59;
}
.oz196-required { color: #a11d1d; }

.oz196-location-map {
  position: relative;
  height: 430px;
  width: 100%;
  border: 1px solid rgba(31, 112, 74, .26);
  border-radius: 18px;
  overflow: hidden;
  background: #e8efea;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 8px 24px rgba(16, 34, 53, .08);
}
/* Portál má globálne pravidlo img { max-width:100%; height:auto; }.
   Leaflet dlaždice a ikony musia zostať vo svojich natívnych rozmeroch. */
#oz196-location-map.leaflet-container img.leaflet-tile,
#oz196-location-map.leaflet-container img.leaflet-marker-icon,
#oz196-location-map.leaflet-container img.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
  height: auto;
}
#oz196-location-map.leaflet-container img.leaflet-tile {
  width: 256px !important;
  height: 256px !important;
}
#oz196-location-map .leaflet-top,
#oz196-location-map .leaflet-bottom { z-index: 1000; }
#oz196-location-map .leaflet-control-zoom a {
  color: #174f34 !important;
  text-decoration: none !important;
}
.oz197-location-control {
  margin-top: 8px !important;
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(16, 34, 53, .18) !important;
}
.oz197-location-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 116px;
  min-height: 40px;
  margin: 0;
  padding: 7px 10px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #174f34;
  font: 800 13px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: none;
}
.oz197-location-button:hover { background: #edf7f0; color: #0b3d30; }
.oz197-location-button:focus-visible { outline: 3px solid rgba(47, 113, 199, .28); outline-offset: 2px; }
.oz197-location-button:disabled { cursor: wait; opacity: .72; }
.oz197-location-icon { font-size: 21px; line-height: 1; }
.oz197-location-button.is-loading .oz197-location-icon { animation: oz196-spin .8s linear infinite; }


/* v1.99: presný špendlík – spodný hrot ikony je presne na súradnici. */
#oz196-location-map .oz199-precise-marker-wrapper {
  width: 34px !important;
  height: 46px !important;
  /* Leaflet umiestňuje súradnicu na iconAnchor [17,45].
     Historické margin:0!important prepisovalo inline kotvu Leafletu a
     súradnica preto padala k ľavému hornému rohu ikony. */
  margin-left: -17px !important;
  margin-top: -45px !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#oz196-location-map .oz199-precise-marker {
  display: block;
  width: 34px;
  height: 46px;
  filter: drop-shadow(0 4px 5px rgba(16, 34, 53, .34));
}
#oz196-location-map .oz199-precise-marker svg {
  display: block !important;
  width: 34px !important;
  height: 46px !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: none;
}
#oz196-location-map .oz199-precise-marker-shape {
  fill: #c92b2b;
  stroke: #fff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
#oz196-location-map .oz199-precise-marker-ring {
  fill: #fff;
  stroke: rgba(16, 34, 53, .18);
  stroke-width: 1;
}
#oz196-location-map .oz199-precise-marker-core { fill: #c92b2b; }

.oz196-location-status { min-height: 1.5rem; margin: .8rem 0 0; font-weight: 750; }
.oz196-location-status.is-loading::before {
  content: "";
  display: inline-block;
  width: .9rem;
  height: .9rem;
  margin-right: .45rem;
  border: 2px solid #b7c5cf;
  border-top-color: #174f34;
  border-radius: 50%;
  vertical-align: -.12rem;
  animation: oz196-spin .8s linear infinite;
}
.oz196-location-status.is-ok { color: #17633a; }
.oz196-location-status.is-error { color: #a11d1d; }
@keyframes oz196-spin { to { transform: rotate(360deg); } }

.oz196-photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .85rem; margin-top: .9rem; }
.oz196-photo-preview { margin: 0; padding: .6rem; border: 1px solid rgba(31, 112, 74, .18); border-radius: 14px; background: #f8fbf9; }
.oz196-photo-preview img { display: block; width: 100%; height: 120px; object-fit: contain; background: #fff; border-radius: 9px; }
.oz196-photo-preview figcaption { margin-top: .45rem; font-size: .78rem; overflow-wrap: anywhere; color: #53636e; }
.oz196-photo-rights { margin-top: 1rem; padding: 1rem; border-left: 4px solid #d89b24; background: #fff9eb; border-radius: 12px; }
.oz196-check-row { grid-template-columns: auto 1fr !important; align-items: start; gap: .65rem !important; margin-top: .9rem; font-weight: 500 !important; }
.oz196-check-row input { margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.oz196-captcha-row { display: grid; grid-template-columns: auto auto minmax(220px, 1fr); gap: .8rem; align-items: end; margin-top: 1rem; }
.oz196-captcha-row img { border: 1px solid rgba(31, 112, 74, .24); border-radius: 12px; background: #f6f8fa; }
.oz196-submit-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid rgba(31, 112, 74, .15);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(16,34,53,.07);
}
.oz196-submit-note { max-width: 650px; color: #5e6971; font-size: .9rem; }
.oz196-submit-message { display: none; padding: 1rem 1.1rem; border-radius: 14px; font-weight: 750; }
.oz196-submit-message.is-error { display: block; background: #fff1f1; border: 1px solid #d9a5a5; color: #8b1717; }
.oz196-submit-message.is-success { display: block; background: #edf9f1; border: 1px solid #91c9a5; color: #155f32; }
.oz196-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.oz196-form.is-submitting { opacity: .86; }
.oz196-form button:disabled { cursor: wait; opacity: .7; }

.oz196-poi-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.25rem;
  border: 1px solid #b9d3c3;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1faf4, #f8fbf9);
  box-shadow: 0 10px 26px rgba(16,34,53,.06);
}
.oz196-poi-cta h2 { margin: 0 0 .25rem; font-size: 1.15rem; color: #174f34; }
.oz196-poi-cta p { margin: 0; color: #3f5849; }
.oz196-poi-cta .button {
  flex: 0 0 auto;
  color: #fff !important;
}
.oz196-poi-cta .button:visited,
.oz196-poi-cta .button:hover,
.oz196-poi-cta .button:focus { color: #fff !important; }

@media (max-width: 800px) {
  .oz196-grid-two, .oz196-location-grid { grid-template-columns: 1fr 1fr; }
  .oz196-captcha-row { grid-template-columns: 1fr 1fr; }
  .oz196-captcha-row label { grid-column: 1 / -1; }
  .oz196-location-map { height: 380px; }
}
@media (max-width: 600px) {
  .oz196-submit-heading { padding: 18px; border-radius: 18px; }
  .oz196-grid-two, .oz196-location-grid { grid-template-columns: 1fr; }
  .oz196-card { padding: 1rem; border-radius: 18px; }
  .oz196-location-map { height: 340px; }
  .oz196-captcha-row { grid-template-columns: 1fr; align-items: start; }
  .oz196-captcha-row label { grid-column: auto; }
  .oz196-poi-cta { align-items: stretch; flex-direction: column; }
  .oz196-poi-cta .button { width: 100%; text-align: center; }
  .oz196-submit-actions { align-items: stretch; flex-direction: column; }
  .oz196-submit-actions .button { width: 100%; }
  .oz197-location-label { display: none; }
  .oz197-location-button { min-width: 40px; width: 40px; justify-content: center; padding: 6px; }
}


/* v1.98: tvrdá lokálna izolácia Leaflet mapy od globálnych štýlov portálu.
   Formulár používa lokálny Leaflet CSS; tieto pravidlá sú posledná poistka proti
   globálnemu img { max-width:100%; height:auto; } a proti prepisu pozícií panelov. */
#oz196-location-map.leaflet-container {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
#oz196-location-map .leaflet-pane,
#oz196-location-map .leaflet-tile,
#oz196-location-map .leaflet-marker-icon,
#oz196-location-map .leaflet-marker-shadow,
#oz196-location-map .leaflet-tile-container,
#oz196-location-map .leaflet-pane > svg,
#oz196-location-map .leaflet-pane > canvas,
#oz196-location-map .leaflet-zoom-box,
#oz196-location-map .leaflet-image-layer,
#oz196-location-map .leaflet-layer {
  position: absolute !important;
  left: 0;
  top: 0;
}
#oz196-location-map .leaflet-map-pane,
#oz196-location-map .leaflet-tile-pane,
#oz196-location-map .leaflet-overlay-pane,
#oz196-location-map .leaflet-shadow-pane,
#oz196-location-map .leaflet-marker-pane,
#oz196-location-map .leaflet-tooltip-pane,
#oz196-location-map .leaflet-popup-pane {
  position: absolute !important;
  inset: 0 auto auto 0;
}
#oz196-location-map img.leaflet-tile {
  display: block !important;
  position: absolute !important;
  width: 256px !important;
  height: 256px !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 256px !important;
  min-height: 256px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: fill !important;
  box-shadow: none !important;
}
#oz196-location-map img.leaflet-marker-icon,
#oz196-location-map img.leaflet-marker-shadow {
  display: block !important;
  position: absolute !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: fill !important;
}
#oz196-location-map .leaflet-control-container .leaflet-top,
#oz196-location-map .leaflet-control-container .leaflet-bottom {
  position: absolute !important;
  z-index: 1000 !important;
  pointer-events: none;
}
#oz196-location-map .leaflet-control-container .leaflet-top { top: 0; }
#oz196-location-map .leaflet-control-container .leaflet-bottom { bottom: 0; }
#oz196-location-map .leaflet-control-container .leaflet-left { left: 0; }
#oz196-location-map .leaflet-control-container .leaflet-right { right: 0; }
#oz196-location-map .leaflet-control {
  position: relative !important;
  z-index: 800 !important;
  pointer-events: auto;
  float: left;
  clear: both;
}
#oz196-location-map .leaflet-right .leaflet-control { float: right; }
#oz196-location-map .leaflet-top .leaflet-control { margin-top: 10px; }
#oz196-location-map .leaflet-bottom .leaflet-control { margin-bottom: 10px; }
#oz196-location-map .leaflet-left .leaflet-control { margin-left: 10px; }
#oz196-location-map .leaflet-right .leaflet-control { margin-right: 10px; }
#oz196-location-map .leaflet-bar a,
#oz196-location-map .leaflet-bar button {
  box-sizing: border-box;
}

/* OZ_NEW_POI_PRECISE_PIN_ANCHOR_V1100 */
