/* === Grupa Zdrowie / formularz recept === */
:root{
  --gz-navy:#112b62;
  --gz-navy-2:#173777;
  --gz-cyan:#12b0e8;
  --gz-cyan-2:#6fdcff;
  --gz-bg:#f2f7fc;
  --gz-surface:#ffffff;
  --gz-surface-2:#f8fbff;
  --gz-text:#122033;
  --gz-muted:#5c6b7f;
  --gz-line:#dbe7f3;
  --gz-line-strong:#bfd3e7;
  --gz-shadow:0 18px 52px rgba(15,31,61,.11);
  --gz-shadow-soft:0 10px 28px rgba(15,31,61,.08);
  --gz-radius-xl:30px;
  --gz-radius-lg:22px;
  --gz-radius-md:16px;
  --gz-radius-sm:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.gz-body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--gz-text);
  background:
    radial-gradient(circle at top left, rgba(111,220,255,.18), transparent 26%),
    radial-gradient(circle at top right, rgba(17,43,98,.10), transparent 22%),
    linear-gradient(180deg,#f6fbff 0%, #eef5fb 100%);
}
a{color:inherit}
.gz-wrap{
  width:min(1400px, calc(100% - 28px));
  margin:0 auto;
}
.gz-hero{
  padding:28px 0 18px;
}
.gz-hero-card{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(250px,.9fr);
  gap:22px;
  align-items:center;
  background:linear-gradient(145deg, rgba(17,43,98,.98), rgba(17,43,98,.92) 55%, rgba(24,64,134,.96));
  color:#fff;
  border-radius:var(--gz-radius-xl);
  box-shadow:var(--gz-shadow);
  padding:28px;
  position:relative;
  overflow:hidden;
}
.gz-hero-card::before,
.gz-hero-card::after{
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
}
.gz-hero-card::before{
  width:280px;height:280px;
  right:-120px;top:-120px;
  background:radial-gradient(circle, rgba(18,176,232,.28), transparent 68%);
}
.gz-hero-card::after{
  width:220px;height:220px;
  left:-90px;bottom:-130px;
  background:radial-gradient(circle, rgba(111,220,255,.18), transparent 70%);
}
.gz-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.92);
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
}
.gz-hero h1,
.gz-page-head h1{
  margin:0 0 12px;
  line-height:1.08;
  font-size:clamp(32px, 4vw, 52px);
}
.gz-hero p,
.gz-page-head p{
  margin:0;
  max-width:65ch;
  color:rgba(255,255,255,.84);
  line-height:1.6;
  font-size:16px;
}
.gz-brand-box{
  position:relative;
  justify-self:end;
  width:min(100%, 330px);
  padding:14px;
  border-radius:24px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.gz-brand-box img{
  width:100%;
  height:auto;
  display:block;
  padding:8px;
  background:#ffffff;
  border-radius:14px;
}
.gz-main-grid{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);
  gap:20px;
  align-items:start;
  padding-bottom:44px;
}
.gz-panel{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(191,211,231,.75);
  border-radius:var(--gz-radius-xl);
  box-shadow:var(--gz-shadow-soft);
  padding:22px;
}
.gz-panel-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.gz-step{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;height:34px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gz-cyan),#0b9dd1);
  color:#fff;
  font-weight:800;
  box-shadow:0 10px 18px rgba(18,176,232,.24);
}
.gz-panel-title h2,
.gz-card-title{
  margin:0;
  font-size:clamp(22px, 2.2vw, 30px);
}
.gz-muted{
  color:var(--gz-muted);
  line-height:1.55;
}
.gz-select-row,
.gz-actions-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.gz-select,
.gz-search,
.gz-input,
.gz-textarea{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--gz-line-strong);
  background:#fff;
  color:var(--gz-text);
  font:inherit;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gz-select:focus,
.gz-search:focus,
.gz-input:focus,
.gz-textarea:focus{
  border-color:rgba(18,176,232,.65);
  box-shadow:0 0 0 4px rgba(18,176,232,.12);
}
.gz-select-wrap{flex:1 1 280px; min-width:220px}
.gz-button,
.gz-button-secondary,
.gz-link-button{
  appearance:none;
  border:none;
  cursor:pointer;
  text-decoration:none;
  font:inherit;
}
.gz-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 20px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gz-cyan),#0999cb);
  color:#fff;
  font-weight:800;
  box-shadow:0 14px 24px rgba(18,176,232,.26);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.gz-button:hover{transform:translateY(-1px); filter:brightness(.98)}
.gz-button-secondary,
.gz-link-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 18px;
  border-radius:16px;
  background:#fff;
  color:var(--gz-navy);
  border:1px solid var(--gz-line-strong);
  font-weight:700;
}
.gz-link-button{width:100%}
.gz-button-secondary:hover,
.gz-link-button:hover{background:var(--gz-surface-2)}
.gz-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(18,176,232,.08);
  color:var(--gz-navy);
  border:1px solid rgba(18,176,232,.16);
  font-size:13px;
  font-weight:800;
}
.gz-map-shell{
  margin-top:14px;
  background:linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
  border:1px solid var(--gz-line);
  border-radius:28px;
  padding:14px;
  position:relative;
}
.gz-map-note{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.gz-map-legend{
  font-size:13px;
  color:var(--gz-muted);
}
.gz-map-stage{
  position:relative;
  width:min(90%, 900px);
  margin:0 auto;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 42px rgba(15,31,61,.12);
}
.gz-map-stage-leaflet{
  background:linear-gradient(180deg,#f8fbff 0%, #eef6ff 100%);
  min-height:700px;
}
.gz-map-image,
.gz-map{
  width:100%;
  height:auto;
  display:block;
}
.gz-leaflet-map{
  width:100%;
  height:700px;
}
.gz-leaflet-map.leaflet-container{
  background:linear-gradient(180deg,#f8fbff 0%, #eef6ff 100%);
  font:inherit;
}
.gz-leaflet-map .leaflet-control-zoom{
  border:none;
  box-shadow:0 10px 24px rgba(15,31,61,.18);
}
.gz-leaflet-map .leaflet-control-zoom a{
  color:var(--gz-navy);
}
.gz-map-floating-card{
  position:absolute;
  top:16px;
  right:16px;
  z-index:500;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(191,211,231,.9);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(15,31,61,.14);
  padding:14px 16px;
  min-width:220px;
  max-width:min(320px, calc(100% - 32px));
}
.gz-map-floating-card h3{
  margin:0 0 6px;
  color:var(--gz-navy);
  font-size:18px;
}
.gz-map-floating-card p{
  margin:0;
  color:var(--gz-muted);
  line-height:1.45;
}
.gz-map-region{
  cursor:pointer;
  transition:fill-opacity .18s ease, stroke-width .18s ease, opacity .18s ease, filter .18s ease;
}
.gz-map-region.is-hover{
  filter:drop-shadow(0 6px 10px rgba(18,176,232,.18));
}
.gz-map-region.is-selected{
  filter:drop-shadow(0 4px 8px rgba(17,43,98,.08));
}
.gz-map-image{
  user-select:none;
  -webkit-user-drag:none;
}
.gz-map-overlay{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.gz-map .voivodeship{
  fill:rgba(var(--region-rgb), .01);
  stroke:rgba(255,255,255,0);
  stroke-width:3;
  cursor:pointer;
  transition:fill .18s ease, stroke .18s ease, filter .18s ease, opacity .18s ease;
}
.gz-map .voivodeship:hover,
.gz-map .voivodeship:focus{
  fill:rgba(var(--region-rgb), .30);
  stroke:rgba(17,43,98,.72);
  filter:drop-shadow(0 8px 16px rgba(17,43,98,.22));
  outline:none;
}
.gz-map .voivodeship.is-active{
  fill:rgba(var(--region-rgb), .40);
  stroke:rgba(5,110,156,.92);
  filter:drop-shadow(0 10px 18px rgba(18,176,232,.24));
}
.gz-status{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  padding:14px 16px;
  border-radius:18px;
  background:var(--gz-surface-2);
  border:1px solid var(--gz-line);
}
.gz-placowki-header{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.gz-placowki-tools{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-bottom:16px;
}
.gz-placowki-grid{
  display:grid;
  gap:12px;
}
.gz-placowki-grid.is-empty{display:none}
.gz-card.is-preview{border-color:rgba(18,176,232,.28)}
.gz-card{
  background:linear-gradient(180deg,#ffffff 0%, #f9fcff 100%);
  border:1px solid var(--gz-line);
  border-radius:20px;
  padding:18px;
  box-shadow:0 8px 18px rgba(15,31,61,.04);
}
.gz-card h3{
  margin:0 0 8px;
  font-size:19px;
}
.gz-card p{margin:0}

.placowka-card h3{
  text-transform:uppercase;
  letter-spacing:.01em;
}
.gz-card-meta{
  display:grid;
  gap:8px;
  margin-top:12px;
  color:var(--gz-muted);
  font-size:14px;
  line-height:1.5;
}
.gz-card-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.gz-empty,
.gz-no-results{
  padding:18px;
  border-radius:20px;
  border:1px dashed var(--gz-line-strong);
  background:linear-gradient(180deg,#fafdff 0%, #f3f9ff 100%);
  color:var(--gz-muted);
  line-height:1.6;
}
.gz-no-results{display:none}
.gz-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.gz-summary-box{
  padding:16px;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
  border:1px solid var(--gz-line);
}
.gz-summary-box span{
  display:block;
  margin-bottom:8px;
  color:var(--gz-muted);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:800;
}
.gz-summary-box strong{
  font-size:16px;
  line-height:1.45;
}
.gz-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--gz-line);
  color:var(--gz-navy);
  font-weight:800;
  text-decoration:none;
}
.gz-form-layout{
  width:min(980px, calc(100% - 28px));
  margin:0 auto 40px;
}
.gz-page-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,300px);
  gap:18px;
  align-items:center;
  margin-bottom:18px;
}
.gz-page-head-card{
  background:linear-gradient(145deg, rgba(17,43,98,.98), rgba(17,43,98,.94));
  color:#fff;
  border-radius:var(--gz-radius-xl);
  padding:24px;
  box-shadow:var(--gz-shadow);
}
.gz-page-head p{color:rgba(255,255,255,.84)}
.gz-label{
  display:block;
  margin:12px 0 7px;
  font-weight:800;
}
.gz-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.gz-form-grid-birth{
  margin-top:2px;
}
.gz-textarea{min-height:110px; resize:vertical}
.gz-hint{color:var(--gz-muted); font-size:13px; line-height:1.55}
.gz-check{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:14px;
  padding:14px 16px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid var(--gz-line);
}
.gz-check input{margin-top:4px}
.gz-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.gz-drug-card{
  border:1px solid var(--gz-line);
  border-radius:18px;
  padding:14px;
  margin-top:12px;
  background:linear-gradient(180deg,#ffffff 0%, #f9fcff 100%);
}
.gz-drug-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.gz-drug-row{display:grid;grid-template-columns:minmax(220px, 300px) minmax(0,1fr);gap:12px;align-items:end}
.gz-drug-title{font-weight:900;font-size:18px;color:var(--gz-navy)}
.gz-remove{
  background:transparent;
  border:none;
  color:#cc3152;
  font-weight:900;
  cursor:pointer;
}
.gz-remove:hover{text-decoration:underline}
.gz-qty-wrap{
  display:grid;
  grid-template-columns:42px minmax(72px, 96px) 42px;
  gap:8px;
  align-items:center;
}
.gz-qty-btn{
  width:42px;
  height:42px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#eaf5ff,#d5edff);
  color:var(--gz-navy);
  font-size:24px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(191,211,231,.95);
}
.gz-qty-btn:hover{filter:brightness(.98)}
.gz-qty-input{
  text-align:center;
  padding-left:10px;
  padding-right:10px;
}
.gz-qty-input::-webkit-outer-spin-button,
.gz-qty-input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.gz-qty-input[type=number]{
  -moz-appearance:textfield;
}
.gz-thanks-card{
  width:min(860px, calc(100% - 28px));
  margin:40px auto;
}
.gz-footnote{
  margin-top:14px;
  color:var(--gz-muted);
  font-size:13px;
  line-height:1.5;
}
@media (max-width: 1040px){
  .gz-main-grid,
  .gz-page-head,
  .gz-hero-card{grid-template-columns:1fr}
  .gz-brand-box{justify-self:start; width:min(100%, 320px)}
}
@media (max-width: 780px){
  .gz-wrap,.gz-form-layout,.gz-thanks-card{width:min(100% - 22px, 100%)}
  .gz-hero-card,.gz-panel,.gz-page-head-card{padding:20px}
  .gz-summary-grid,.gz-form-grid,.gz-drug-row{grid-template-columns:1fr}
  .gz-leaflet-map,.gz-map-stage-leaflet{height:520px;min-height:520px}
  .gz-map-floating-card{left:14px;right:14px;top:14px;min-width:0}
  .gz-panel-title{align-items:flex-start}
}
