/* Harmonizált értesítés – link, dialógus, önálló oldal */

.hrt-notice {
  margin: .75rem 0;
}

/* A pénztárban a fizetési módok fölött ül: térköz kell, hogy ne tűnjön fizetési módnak. */
.hrt-notice--checkout {
  margin: .75rem 0 20px 0;
}

.hrt-notice__link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  text-decoration: underline;
  line-height: 1.3;
}

.hrt-notice__icon {
  flex: 0 0 auto;
  color: #003399;
}

/* A hivatalos értesítés: csak arányosan méretezzük, semmit nem vágunk le belőle. */
.hrt-notice-content {
  max-width: 860px;
  margin: 0 auto;
}

.hrt-notice-content__zoom {
  display: block;
  cursor: zoom-in;
}

.hrt-notice-content__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hrt-notice-content__url {
  margin: .75rem 0 0;
  text-align: center;
  word-break: break-word;
}

.hrt-notice-page {
  padding: .5rem 0 1rem;
}

/* Dialógus */
.hrt-dialog {
  width: 880px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.hrt-dialog::backdrop {
  background: rgba(0, 0, 0, .6);
}

.hrt-dialog__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .5rem .5rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.hrt-dialog__title {
  font-weight: 700;
}

.hrt-dialog__close {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.hrt-dialog__body {
  padding: 1rem;
}

/* Telefonon a dialógus kitölti a képernyőt, hogy a kép a lehető legnagyobb legyen. */
@media (max-width: 575px) {
  .hrt-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .hrt-dialog__body {
    padding: .5rem;
  }
}
