.zz-inpost-picker {
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  color: #18332f;
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-align: left;
}

.zz-inpost-picker[hidden],
.zz-inpost-modal[hidden],
.zz-inpost-open[hidden],
.zz-inpost-change[hidden],
.zz-inpost-choice-separator[hidden] {
  display: none !important;
}

.zz-inpost-manual-entry {
  margin-top: 8px;
}

.zz-inpost-manual-entry label {
  display: block;
  margin-bottom: 7px;
  color: #18332f;
  font-size: 16px;
  font-weight: 700;
}

.zz-inpost-manual-entry input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #baccc2;
  border-radius: 9px;
  background: #fff;
  color: #18332f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.zz-inpost-manual-entry input:focus {
  border-color: #17603f;
  outline: 3px solid rgba(23, 96, 63, .14);
}

.zz-inpost-manual-hint {
  display: block;
  margin-top: 6px;
  color: #66776f;
  font-size: 13px;
  line-height: 1.4;
}

.zz-inpost-choice-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 2px;
  color: #718078;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.zz-inpost-choice-separator::before,
.zz-inpost-choice-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dce5df;
}

.zz-inpost-open,
.zz-inpost-change {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 12px 0 0;
  padding: 13px 18px;
  border: 1px solid #17603f;
  border-radius: 9px;
  background: #17603f;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
}

.zz-inpost-change {
  background: #fff;
  color: #17603f;
}

.zz-inpost-summary {
  display: none;
  margin: 14px 0 4px;
  padding: 14px 16px;
  border: 2px solid #16883f;
  border-radius: 9px;
  background: #f2fff5;
  color: #173d23;
  line-height: 1.4;
}

.zz-inpost-summary.is-selected {
  display: block;
}

.zz-inpost-summary-label,
.zz-inpost-summary-name,
.zz-inpost-summary-address,
.zz-inpost-summary-description {
  display: block;
}

.zz-inpost-summary-label {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 750;
}

.zz-inpost-summary-name {
  font-size: 20px;
  font-weight: 800;
}

.zz-inpost-summary-address,
.zz-inpost-summary-description {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
}

.zz-inpost-modal {
  position: fixed;
  z-index: 4000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 29, 24, .72);
  backdrop-filter: blur(3px);
}

.zz-inpost-modal-dialog {
  width: min(1120px, 100%);
  height: min(760px, calc(100vh - 40px));
  height: min(760px, calc(100dvh - 40px));
  min-height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #dce5dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.zz-inpost-modal-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
  padding: 13px 18px 13px 22px;
  border-bottom: 1px solid #e1e8e1;
  background: #fff;
}

.zz-inpost-modal-header h2 {
  margin: 0;
  color: #18332f;
  font: 650 24px/1.2 Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-shadow: none;
}

.zz-inpost-modal-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cbd8ce;
  border-radius: 50%;
  background: #fff;
  color: #18332f;
  font: 500 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.zz-inpost-modal-close:hover,
.zz-inpost-modal-close:focus-visible {
  border-color: #17603f;
  outline: 3px solid rgba(23, 96, 63, .14);
}

.zz-inpost-modal-body {
  min-width: 0;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  background: #f5f7f3;
}

body.zz-inpost-modal-open {
  overflow: hidden;
}

.zz-inpost-map,
.zz-inpost-map.easypack-widget {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  margin: 0 !important;
  overflow: hidden;
}

.zz-inpost-map .search-input {
  font-size: 16px !important;
}

.zz-inpost-map .list-point-link .data-wrapper {
  min-width: 0;
}

.zz-inpost-map #point-list > li {
  margin-bottom: 14px !important;
}

.zz-inpost-map #point-list > li > .list-point-link {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.zz-inpost-location-description,
.zz-inpost-opening-hours {
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

.zz-inpost-location-description {
  color: #294c43;
  font-size: 13px;
  font-weight: 600;
}

.zz-inpost-opening-hours {
  color: #6c7d76;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .zz-inpost-modal {
    align-items: stretch;
    padding: 0;
    background: #fff;
    backdrop-filter: none;
  }

  .zz-inpost-modal-dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .zz-inpost-modal-header {
    min-height: calc(60px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px;
  }

  .zz-inpost-modal-header h2 {
    font-size: 20px;
  }

  .zz-inpost-modal-close {
    width: 42px;
    height: 42px;
  }

  .zz-inpost-modal-body {
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }

  .zz-inpost-map,
  .zz-inpost-map.easypack-widget {
    min-height: 0 !important;
  }

  .zz-inpost-map #point-list > li {
    margin-bottom: 8px !important;
  }
}
