#adsdp-oglas-popup:not([open]) {
  display: none;
}

#adsdp-oglas-popup {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  box-sizing: border-box;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid #dce3ec;
  border-top: 5px solid #17365b;
  border-radius: 12px;
  background: #fff;
  color: #17365b;
  box-shadow: 0 16px 48px rgb(12 30 52 / 24%);
  font-family: inherit;
}

#adsdp-oglas-popup::backdrop {
  background: rgb(12 30 52 / 55%);
}

#adsdp-oglas-popup form {
  margin: 0;
}

#adsdp-oglas-popup .adsdp-oglas-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #17365b;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

#adsdp-oglas-popup .adsdp-oglas-close:hover {
  background: #edf2f7;
}

#adsdp-oglas-popup .adsdp-oglas-label {
  margin: 0 36px 8px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#adsdp-oglas-popup h2 {
  margin: 0 0 20px;
  color: inherit;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.25;
}

#adsdp-oglas-popup .adsdp-oglas-link {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 6px;
  background: #17365b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

#adsdp-oglas-popup .adsdp-oglas-link:hover {
  background: #244b78;
}

#adsdp-oglas-popup :focus-visible {
  outline: 2px solid #17365b;
  outline-offset: 3px;
}

#adsdp-oglas-period {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #edf2f7;
  color: #17365b;
  line-height: 1.5;
}

#adsdp-oglas-reminder[hidden] {
  display: none;
}

#adsdp-oglas-reminder {
  position: fixed;
  left: max(8px, env(safe-area-inset-left));
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 9990;
  display: flex;
  align-items: stretch;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #17365b;
  box-shadow: 0 4px 16px rgb(12 30 52 / 25%);
}

#adsdp-oglas-reminder button {
  min-height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#adsdp-oglas-reminder .adsdp-oglas-reminder-open {
  padding: 0 15px;
  border-radius: 999px 0 0 999px;
}

#adsdp-oglas-reminder .adsdp-oglas-reminder-close {
  min-width: 44px;
  padding: 0;
  border-left: 1px solid rgb(255 255 255 / 35%);
  border-radius: 0 999px 999px 0;
  font-size: 22px;
}

#adsdp-oglas-reminder button:hover {
  background: #244b78;
}

#adsdp-oglas-reminder button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
