/* ── Domek Rezerwacje – Frontend 1.2 ─────────────────────────────────── */
:root {
  --dr-g: #136f5a;
  --dr-g2: #1f8b71;
  --dr-glt: #e9f7f1;
  --dr-r: #b73a3a;
  --dr-rlt: #fdecec;
  --dr-acc: #b87418;
  --dr-text: #12212b;
  --dr-muted: #667581;
  --dr-border: #dce4e8;
  --dr-bg: #f6f9fa;
  --dr-white: #ffffff;
  --dr-radius: 20px;
  --dr-shadow: 0 14px 40px rgba(18, 33, 43, .08);
}

.dr-widget {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  background: var(--dr-white);
  border-radius: var(--dr-radius);
  box-shadow: var(--dr-shadow);
  border: 1px solid var(--dr-border);
  overflow: hidden;
}

.dr-bar { display: flex; border-bottom: 1px solid var(--dr-border); background: #fbfdfd; }
.dr-bar__half {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--dr-text);
}
.dr-bar__half:first-child { border-right: 1px solid var(--dr-border); }
.dr-bar__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--dr-glt);
  color: var(--dr-g);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dr-bar__label { flex: 1; }
.dr-bar__main { font-size: 16px; font-weight: 700; line-height: 1.2; }
.dr-bar__sub { font-size: 13px; color: var(--dr-muted); margin-top: 4px; }
.dr-persons-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dr-white);
  border: 1px solid var(--dr-border);
  border-radius: 999px;
  padding: 6px 10px;
  margin-left: auto;
}
.dr-persons-btn {
  background: var(--dr-bg);
  border: 1px solid var(--dr-border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 18px;
  color: var(--dr-g);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-persons-btn:hover { background: var(--dr-glt); }
#dr-pval { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }

.dr-cal-wrap { padding: 20px 20px 16px; }
.dr-cal-nav { display: flex; align-items: flex-start; gap: 14px; }
.dr-cal-arrow {
  background: #fff;
  border: 1px solid var(--dr-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
  cursor: pointer;
  font-size: 22px;
  color: var(--dr-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.dr-cal-arrow:hover { background: var(--dr-bg); }
.dr-cal-months { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dr-month__title { text-align: center; font-size: 19px; font-weight: 700; color: var(--dr-text); margin-bottom: 14px; }
.dr-month__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.dr-day-hdr { text-align: center; font-size: 12px; font-weight: 600; color: var(--dr-muted); padding: 6px 0; }
.dr-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background .12s ease, transform .08s ease;
}
.dr-day__num { font-size: 15px; color: var(--dr-text); line-height: 1; pointer-events: none; }
.dr-day__price { font-size: 11px; color: var(--dr-muted); margin-top: 5px; pointer-events: none; }
.dr-day.empty, .dr-day.past { cursor: default; opacity: .25; pointer-events: none; }
.dr-day.zajety { cursor: not-allowed; background: var(--dr-rlt); }
.dr-day.zajety .dr-day__num { color: var(--dr-r); text-decoration: line-through; }
.dr-day.zajety .dr-day__price { visibility: hidden; }
.dr-day.zajety::after { content:'×'; position:absolute; top:5px; right:8px; font-size:12px; color:var(--dr-r); opacity:.7; pointer-events:none; }
.dr-day.today .dr-day__num { color: var(--dr-g); font-weight: 700; }
.dr-day.today::before { content:''; position:absolute; bottom:7px; left:50%; transform:translateX(-50%); width:5px; height:5px; border-radius:50%; background:var(--dr-g); }
.dr-day.free:hover { background: var(--dr-glt); transform: translateY(-1px); }
.dr-day.sel-s { background: var(--dr-g); border-radius: 12px 0 0 12px; }
.dr-day.sel-s.solo { border-radius: 12px; }
.dr-day.sel-s .dr-day__num, .dr-day.sel-e .dr-day__num { color: #fff; font-weight: 700; }
.dr-day.sel-s .dr-day__price, .dr-day.sel-e .dr-day__price { color: rgba(255,255,255,.72); }
.dr-day.sel-e { background: var(--dr-g); border-radius: 0 12px 12px 0; }
.dr-day.in-range { background: var(--dr-glt); border-radius: 0; }
.dr-day.in-range .dr-day__num { color: var(--dr-g); }
.dr-day.hov-range { background: #d5f4e9; border-radius: 0; }
.dr-day.hov-range .dr-day__num { color: var(--dr-g2); }
.dr-day.hov-e { background: var(--dr-g2); border-radius: 0 12px 12px 0; }
.dr-day.hov-e .dr-day__num, .dr-day.hov-e .dr-day__price { color: #fff; }

.dr-cal-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--dr-border);
}
.dr-legend-items { display: flex; gap: 18px; flex-wrap: wrap; }
.dr-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dr-muted); }
.dr-legend-dot { width: 14px; height: 14px; border-radius: 4px; }
.dr-legend-dot--g { background: var(--dr-g); }
.dr-legend-dot--r { background: var(--dr-rlt); border: 1px solid var(--dr-r); }
.dr-clear-btn {
  font-size: 14px;
  color: var(--dr-r);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: inherit;
}
.dr-clear-btn:hover { background: var(--dr-rlt); border-color: #f0c8c8; }
.dr-clear-btn:disabled { opacity: 0; pointer-events: none; }
.dr-hint { text-align: center; font-size: 14px; color: var(--dr-muted); padding: 16px 0 4px; min-height: 34px; }
.dr-hint.warn { color: var(--dr-acc); }

.dr-summary {
  display: none;
  border-top: 1px solid var(--dr-border);
  padding: 16px 20px;
  background: var(--dr-bg);
  align-items: center;
  gap: 18px;
}
.dr-summary.show { display: flex; }
.dr-summary__info { flex: 1; }
.dr-summary__dates { font-size: 16px; font-weight: 700; color: var(--dr-text); }
.dr-summary__detail { font-size: 13px; color: var(--dr-muted); margin-top: 4px; }
.dr-summary__price { font-size: 28px; font-weight: 800; color: var(--dr-text); white-space: nowrap; }
.dr-summary__price small { font-size: 13px; color: var(--dr-muted); margin-left: 4px; }

.dr-btn-primary, .dr-btn-secondary {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.dr-btn-primary { background: var(--dr-g); color: #fff; border: none; transition: background .12s; }
.dr-btn-primary:hover { background: var(--dr-g2); }
.dr-btn-primary--full { width: 100%; justify-content: center; display: flex; align-items: center; }
.dr-btn-secondary { background: #fff; border: 1px solid var(--dr-border); color: var(--dr-muted); }
.dr-btn-secondary:hover { border-color: var(--dr-g); color: var(--dr-g); }

.dr-form-wrap { display: none; padding: 22px 20px 22px; border-top: 1px solid var(--dr-border); }
.dr-form-wrap.show { display: block; }
.dr-form-title { font-size: 20px; font-weight: 750; color: var(--dr-text); margin-bottom: 20px; }
.dr-term-box {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid var(--dr-border);
  border-radius: 18px;
  overflow: hidden;
}
.dr-term-box__col { flex: 1; padding: 12px 14px; background: var(--dr-bg); }
.dr-term-box__col:not(:last-child) { border-right: 1px solid var(--dr-border); }
.dr-term-box__label { font-size: 11px; color: var(--dr-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.dr-term-box__val { font-size: 16px; font-weight: 700; color: var(--dr-text); }
.dr-term-box__val--price { color: var(--dr-g); font-size: 20px; }
.dr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.dr-field--full { grid-column: 1 / -1; }
.dr-field label { display: block; font-size: 12px; font-weight: 700; color: var(--dr-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.dr-field input, .dr-field textarea {
  width: 100%;
  border: 1px solid var(--dr-border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--dr-text);
  background: var(--dr-white);
  font-family: inherit;
  box-sizing: border-box;
}
.dr-field input:focus, .dr-field textarea:focus { outline: none; border-color: var(--dr-g2); box-shadow: 0 0 0 4px rgba(31, 139, 113, 0.12); }
.dr-field textarea { resize: vertical; min-height: 100px; }
.dr-next-box { background: var(--dr-bg); border-radius: 18px; padding: 14px 16px; margin-bottom: 18px; border: 1px solid var(--dr-border); }
.dr-next-box__title { font-size: 16px; font-weight: 700; color: var(--dr-text); margin-bottom: 14px; }
.dr-next-steps { display: flex; flex-direction: column; gap: 12px; }
.dr-next-step { display: flex; align-items: flex-start; gap: 12px; }
.dr-next-step__num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--dr-g);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.dr-next-step__text { font-size: 14px; color: var(--dr-muted); line-height: 1.55; }
.dr-next-step__text strong { color: var(--dr-text); }
.dr-alert { background: #fef2f2; border: 1px solid #f6b0b0; color: #b91c1c; border-radius: 14px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.dr-form-btns { display: flex; gap: 12px; }

.dr-success { display: none; }
.dr-success.show { display: block; }
.dr-success__header { background: var(--dr-g); padding: 30px 20px; text-align: center; }
.dr-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  color: #fff;
}
.dr-success__header h3 { font-size: 28px; font-weight: 750; color: #fff; margin: 0 0 8px; }
.dr-success__header p { font-size: 15px; color: rgba(255,255,255,.88); margin: 0; }
.dr-success__body { padding: 20px; }
.dr-success__term {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid var(--dr-border);
  border-radius: 18px;
  overflow: hidden;
}
.dr-success__term-col { flex: 1; padding: 12px 14px; background: var(--dr-bg); }
.dr-success__term-col:not(:last-child) { border-right: 1px solid var(--dr-border); }
.dr-success__term-label { font-size: 11px; color: var(--dr-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.dr-success__term-val { font-size: 16px; font-weight: 700; color: var(--dr-text); }
.dr-success__steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.dr-success__step { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; background: var(--dr-bg); border-radius: 16px; border: 1px solid var(--dr-border); }
.dr-success__step-icon { font-size: 22px; width: 26px; text-align: center; line-height: 1.2; }
.dr-success__step-title { font-size: 15px; font-weight: 700; color: var(--dr-text); margin-bottom: 4px; }
.dr-success__step-desc { font-size: 13px; color: var(--dr-muted); line-height: 1.55; }
.dr-success__footer { text-align: center; padding-bottom: 6px; }
.dr-success__footer p { font-size: 14px; color: var(--dr-muted); line-height: 1.7; }

@media (max-width: 760px) {
  .dr-widget { border-radius: 18px; }
  .dr-bar { flex-direction: column; }
  .dr-bar__half:first-child { border-right: none; border-bottom: 1px solid var(--dr-border); }
  .dr-cal-months { grid-template-columns: 1fr; }
  .dr-summary { flex-direction: column; align-items: stretch; }
  .dr-form-grid { grid-template-columns: 1fr; }
  .dr-term-box, .dr-success__term { flex-wrap: wrap; }
  .dr-term-box__col, .dr-success__term-col { min-width: 48%; }
  .dr-form-btns { flex-direction: column; }
  .dr-month__title { font-size: 18px; }
}

@media (max-width: 520px) {
  .dr-bar__half, .dr-cal-wrap, .dr-summary, .dr-form-wrap, .dr-success__body { padding-left: 16px; padding-right: 16px; }
  .dr-bar__main, .dr-summary__dates { font-size: 18px; }
  .dr-summary__price { font-size: 28px; }
  .dr-day { min-height: 54px; }
  .dr-day__num { font-size: 15px; }
  .dr-form-title, .dr-success__header h3 { font-size: 26px; }
}


/* 1.2.2 fixes */
.dr-month {
  position: relative;
}
.dr-month + .dr-month {
  border-left: 1px solid var(--dr-border);
  padding-left: 18px;
  margin-left: 4px;
}
.dr-day.today::before {
  top: 6px;
  right: 7px;
  left: auto;
  bottom: auto;
  transform: none;
  width: 6px;
  height: 6px;
}
.dr-form-btns {
  align-items: stretch;
  flex-wrap: nowrap;
}
.dr-form-btns .dr-btn-secondary {
  flex: 0 0 170px;
  white-space: nowrap;
}
.dr-form-btns .dr-btn-primary--full {
  flex: 1 1 auto;
}
@media (max-width: 760px) {
  .dr-month + .dr-month {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}
@media (max-width: 620px) {
  .dr-form-btns {
    flex-wrap: wrap;
  }
  .dr-form-btns .dr-btn-secondary,
  .dr-form-btns .dr-btn-primary--full {
    flex: 1 1 100%;
  }
}


/* 1.2.3 refinements */
.dr-bar {
  background: linear-gradient(180deg, #fcfefe 0%, #f8fbfb 100%);
}
.dr-bar__icon {
  border: 1px solid #d9e4e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.dr-bar__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.dr-next-box {
  background: linear-gradient(180deg, #f8fbfb 0%, #f4f8f9 100%);
  border: 1px solid #dfe7eb;
  border-radius: 20px;
  padding: 18px 20px;
}
.dr-next-box__title {
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 14px;
}
.dr-next-steps {
  gap: 10px;
}
.dr-next-step {
  position: relative;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e2eaee;
  border-radius: 16px;
}
.dr-next-step__num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  font-size: 13px;
  box-shadow: 0 6px 14px rgba(19,111,90,.16);
}
.dr-next-step__text {
  font-size: 14px;
  line-height: 1.6;
}
.dr-next-step__text strong {
  display: inline-block;
  margin-right: 3px;
}

/* 1.2.4 compact second step + state fixes */
.dr-form-wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}
.dr-form-title {
  font-size: 22px;
  margin-bottom: 14px;
}
.dr-term-box {
  margin-bottom: 16px;
}
.dr-term-box__col {
  padding-top: 12px;
  padding-bottom: 12px;
}
.dr-form-grid {
  gap: 12px;
  margin-bottom: 14px;
}
.dr-field input,
.dr-field textarea {
  padding-top: 10px;
  padding-bottom: 10px;
}
.dr-field textarea {
  min-height: 70px;
  max-height: 90px;
}
.dr-next-box {
  padding: 14px 16px;
  margin-bottom: 14px;
}
.dr-next-box__title {
  font-size: 16px;
  margin-bottom: 10px;
}
.dr-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dr-next-step {
  align-items: flex-start;
  padding: 12px;
  gap: 10px;
}
.dr-next-step__num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  font-size: 12px;
}
.dr-next-step__text {
  font-size: 13px;
  line-height: 1.45;
}
.dr-next-step__text strong {
  display: block;
  margin: 0 0 2px;
}
.dr-form-btns {
  flex-direction: row !important;
  flex-wrap: nowrap;
}
.dr-form-btns .dr-btn-secondary {
  flex: 0 0 170px;
}
.dr-form-btns .dr-btn-primary--full {
  flex: 1 1 auto;
}
@media (max-width: 760px) {
  .dr-next-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .dr-form-btns {
    flex-direction: column !important;
    flex-wrap: nowrap;
  }
  .dr-form-btns .dr-btn-secondary,
  .dr-form-btns .dr-btn-primary--full {
    flex: 1 1 auto;
    width: 100%;
  }
}


/* 1.2.5 summary row fix */
.dr-summary {
  display: none;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  column-gap: 22px;
  row-gap: 12px;
}
.dr-summary.show {
  display: grid;
}
.dr-summary__info {
  min-width: 0;
}
.dr-summary__price {
  margin-left: auto;
  text-align: right;
}
.dr-summary .dr-btn-primary--full {
  width: auto;
  min-width: 170px;
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .dr-summary {
    grid-template-columns: 1fr;
  }
  .dr-summary__price {
    margin-left: 0;
    text-align: left;
  }
  .dr-summary .dr-btn-primary--full {
    width: 100%;
  }
}


/* 1.2.7 proper horizontal summary */
.dr-summary,
.dr-summary.show {
  display: none;
}
.dr-summary.show {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
  padding: 16px 20px !important;
}
.dr-summary__info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.dr-summary__dates {
  white-space: nowrap;
}
.dr-summary__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
  margin-left: auto;
}
.dr-summary__price {
  margin: 0 !important;
  text-align: right !important;
  line-height: 1 !important;
}
.dr-summary__action .dr-btn-primary {
  width: auto !important;
  min-width: 164px;
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .dr-summary.show {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .dr-summary__dates {
    white-space: normal;
  }
  .dr-summary__action {
    width: 100%;
    margin-left: 0;
  }
  .dr-summary__action .dr-btn-primary {
    flex: 1 1 auto;
  }
}
@media (max-width: 520px) {
  .dr-summary__action {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dr-summary__price {
    text-align: left !important;
  }
}

/* v1.4.0 – wybór domku i zwierzęta */
.dr-house-select{margin:0 0 14px;padding:14px 16px;border:1px solid rgba(16,47,40,.12);border-radius:16px;background:#fff;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.dr-house-select label{font-weight:700;color:#102f28}
.dr-house-select select{min-width:220px;border:1px solid rgba(16,47,40,.18);border-radius:12px;padding:10px 12px;background:#fff;font-weight:700;color:#102f28}
.dr-house-select__hint{font-size:13px;color:#6b7280}
.dr-pets-row{margin:12px 0 14px;padding:14px 16px;border:1px solid rgba(16,47,40,.10);border-radius:16px;background:#f7fafb;display:flex;align-items:center;justify-content:space-between;gap:12px}
.dr-pets-row__text{display:flex;flex-direction:column;gap:2px;color:#102f28}
.dr-pets-row__text span{font-size:13px;color:#6b7280}
@media (max-width:640px){.dr-house-select,.dr-pets-row{align-items:stretch}.dr-house-select select{width:100%}.dr-pets-row{flex-direction:column}.dr-pets-row .dr-persons-ctrl{align-self:flex-start}}

/* Korekta czytelności dni przy hoverze/podglądzie zakresu */
.dr-day.free:hover:not(.sel-s):not(.sel-e):not(.hov-e) .dr-day__num { color: var(--dr-g); font-weight: 700; }
.dr-day.free:hover:not(.sel-s):not(.sel-e):not(.hov-e) .dr-day__price { color: var(--dr-g2); }
.dr-day.hov-e { background: var(--dr-glt); }
.dr-day.hov-e .dr-day__num { color: var(--dr-g); font-weight: 700; }
.dr-day.hov-e .dr-day__price { color: var(--dr-g2); }
.dr-day.sel-s:hover, .dr-day.sel-e:hover { background: var(--dr-g); }
.dr-day.sel-s:hover .dr-day__num, .dr-day.sel-e:hover .dr-day__num { color: #fff; }
.dr-day.sel-s:hover .dr-day__price, .dr-day.sel-e:hover .dr-day__price { color: rgba(255,255,255,.72); }
/* v1.4.3 – czytelna informacja o sezonie i mocniejszy komunikat błędu */
.dr-season-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 20px 0;
  padding: 13px 15px;
  border: 1px solid #f0d29b;
  background: #fff8eb;
  color: #8a4b0f;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.dr-season-notice__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  background: #f3c56f;
  color: #673a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-top: 1px;
}
.dr-season-notice strong { display: block; color: #673a0a; margin-bottom: 2px; }
.dr-season-notice span { color: #8a4b0f; }
.dr-hint.warn {
  margin: 14px auto 4px;
  max-width: 640px;
  padding: 13px 16px;
  min-height: auto;
  border-radius: 14px;
  background: #fff8eb;
  border: 1px solid #f0c36d;
  color: #9a4a00;
  font-weight: 650;
  box-shadow: 0 8px 20px rgba(154, 74, 0, .08);
}
.dr-hint.warn::before {
  content: '⚠ ';
  font-weight: 800;
}
@media (max-width: 640px) {
  .dr-season-notice { margin-left: 12px; margin-right: 12px; }
}

/* v1.4.4 – bardziej kompaktowy pasek: daty, osoby, zwierzęta w 3 kolumnach */
.dr-bar--three { display: grid; grid-template-columns: 1.25fr 1fr 1fr; }
.dr-bar--three .dr-bar__half { min-width: 0; }
.dr-bar--three .dr-bar__half:first-child { border-right: 1px solid var(--dr-border); border-bottom: 0; }
.dr-bar--three .dr-bar__half:not(:last-child) { border-right: 1px solid var(--dr-border); }
.dr-bar--three .dr-bar__main { font-size: 15px; }
.dr-bar--three .dr-bar__sub { font-size: 12.5px; }
#dr-zval { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }

/* v1.4.4 – informacja sezonowa ma być pomocna, nie alarmująca */
.dr-season-notice {
  margin: 14px 20px 2px;
  padding: 12px 14px;
  border: 1px solid rgba(19,111,90,.16);
  background: #f5fbf8;
  color: #34564c;
  box-shadow: none;
}
.dr-season-notice__icon {
  background: #e4f5ee;
  color: var(--dr-g);
  font-size: 13px;
}
.dr-season-notice strong { color: #163f35; font-weight: 700; }
.dr-season-notice span { color: #4c6b63; }

.dr-hint.warn {
  max-width: 620px;
  margin: 12px auto 2px;
  padding: 11px 15px;
  border-radius: 14px;
  background: #f5fbf8;
  border: 1px solid rgba(19,111,90,.20);
  color: #1f5f50;
  font-weight: 600;
  box-shadow: none;
}
.dr-hint.warn::before {
  content: 'ℹ ';
  font-weight: 800;
}

@media (max-width: 860px) {
  .dr-bar--three { grid-template-columns: 1fr; }
  .dr-bar--three .dr-bar__half,
  .dr-bar--three .dr-bar__half:first-child,
  .dr-bar--three .dr-bar__half:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--dr-border); }
  .dr-bar--three .dr-bar__half:last-child { border-bottom: 0; }
}


/* v1.4.5 – poprawka rozjechanego układu po przeniesieniu zwierząt */
.dr-bar--three {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) minmax(230px, 1fr) minmax(230px, 1fr);
}
.dr-bar--three .dr-bar__half {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
}
.dr-bar--three .dr-bar__label {
  min-width: 0;
}
.dr-bar--three .dr-persons-ctrl {
  flex: 0 0 auto;
}
@media (max-width: 920px) {
  .dr-bar--three {
    grid-template-columns: 1fr;
  }
  .dr-bar--three .dr-bar__half,
  .dr-bar--three .dr-bar__half:first-child,
  .dr-bar--three .dr-bar__half:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--dr-border);
  }
  .dr-bar--three .dr-bar__half:last-child {
    border-bottom: 0;
  }
}

/* v1.4.6 – osoby i zwierzęta w 2 kolumnach, daty pod spodem */
.dr-bar--two {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0;
}
.dr-bar--two .dr-bar__half {
  min-width: 0;
  box-sizing: border-box;
}
.dr-bar--two .dr-bar__half:first-child {
  border-right: 1px solid var(--dr-border);
}
.dr-bar--two .dr-bar__half:not(:last-child) {
  border-right: 1px solid var(--dr-border);
}
.dr-bar--two .dr-bar__label {
  min-width: 0;
}
.dr-date-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fbfdfd;
  border-top: 1px solid var(--dr-border);
  border-bottom: 1px solid var(--dr-border);
  color: var(--dr-text);
}
.dr-date-card__content {
  min-width: 0;
  flex: 1;
}
.dr-date-card .dr-season-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4c6b63;
  font-size: 12.5px;
  line-height: 1.35;
}
.dr-date-card .dr-season-notice__icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  font-size: 11px;
  margin-top: 0;
  background: #e4f5ee;
  color: var(--dr-g);
}
.dr-date-card .dr-season-notice strong {
  display: inline;
  color: #163f35;
  font-weight: 700;
  margin: 0;
}
.dr-date-card .dr-season-notice span {
  color: inherit;
}
@media (max-width: 720px) {
  .dr-bar--two {
    grid-template-columns: 1fr;
  }
  .dr-bar--two .dr-bar__half,
  .dr-bar--two .dr-bar__half:first-child,
  .dr-bar--two .dr-bar__half:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--dr-border);
  }
  .dr-bar--two .dr-bar__half:last-child {
    border-bottom: 0;
  }
  .dr-date-card {
    align-items: flex-start;
  }
}


/* v1.4.7 – spokojniejszy, bardziej symetryczny blok wyboru dat */
.dr-date-card {
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
}
.dr-date-card .dr-bar__icon {
  margin-top: 2px;
}
.dr-date-card__content {
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr;
  column-gap: 18px;
  row-gap: 8px;
  align-items: baseline;
}
.dr-date-card .dr-bar__main {
  font-size: 16px;
  line-height: 1.25;
}
.dr-date-card .dr-bar__sub {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.35;
}
.dr-date-card .dr-season-notice {
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #f2faf6;
  color: #526f67;
}
.dr-date-card .dr-season-notice__icon {
  width: 17px;
  height: 17px;
  min-width: 17px;
}
@media (max-width: 720px) {
  .dr-date-card__content {
    grid-template-columns: 1fr;
    row-gap: 5px;
  }
  .dr-date-card .dr-season-notice {
    width: auto;
  }
}


/* v1.4.8 – prostsza i spokojniejsza sekcja wyboru dat */
.dr-date-card {
  display: block;
  padding: 18px 22px;
  background: #fbfdfd;
}
.dr-date-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}
.dr-date-card .dr-bar__main {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--dr-text);
}
.dr-date-card .dr-season-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526f67;
  font-size: 13px;
  line-height: 1.45;
}
.dr-date-card .dr-season-notice strong {
  display: inline;
  color: #163f35;
  font-weight: 700;
  margin: 0;
}
.dr-date-card .dr-season-notice span {
  color: inherit;
}
@media (max-width: 720px) {
  .dr-date-card { padding: 16px 14px; }
  .dr-date-card .dr-season-notice { font-size: 12.5px; }
}
