/* Shared modal/popup overlay styles (rules, missing-info warning). */
.br-popup-warning {
  position: relative;
  width: 540px;
  height: 420px;
  /* .br-screen-modal sets cursor:pointer on the whole overlay as a "click
     outside to close" hint, but only a click directly on that backdrop
     (not any child, see interactions.js) actually closes it - reset back to
     default here so hovering the message text doesn't imply it's clickable. */
  cursor: default;
}
.br-popup-warning .br-popup-panel {
  position: absolute;
  left: 0;
  top: 52px;
  width: 540px;
  height: 396px;
  background: url("../../images/popup-panel.png") center / 100% 100% no-repeat;
}
.br-popup-warning .br-popup-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 104px;
  height: 104px;
  background: url("../../images/popup-warning-icon.png") center / contain no-repeat;
  z-index: 2;
}
/* top/bottom (not a fixed top + height) so this centers in whatever room is
   actually left between the icon and the close button, regardless of how many
   lines a given warning message wraps to. */
.br-popup-warning .br-popup-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 110px;
  bottom: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 11%;
  text-align: center;
  color: #0070ff;
  font-family: "Maison Neue Extended", sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
}
.br-popup-warning .br-popup-close {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  width: 220px;
  height: 78px;
  background: url("../../images/btn-dong.png") center / contain no-repeat;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease;
}
.br-popup-warning .br-popup-close > span { display: none; }
.br-popup-warning .br-popup-close:hover  { transform: translateX(-50%) translateY(-2px); }
.br-popup-warning .br-popup-close:active { transform: translateX(-50%) translateY(1px); }

@media (max-width: 720px) {
  .br-popup-overlay {
    padding: 0 17px;
  }
  .br-popup-warning {
    width: 100%;
    max-width: 359px;
    height: 300px;
  }
  .br-popup-warning .br-popup-panel {
    left: 0;
    top: 16px;
    width: 100%;
    height: 284px;
  }
  .br-popup-warning .br-popup-icon {
    width: 69px;
    height: 69px;
  }
  .br-popup-warning .br-popup-text {
    top: 80px;
    bottom: 90px;
    padding: 0 10%;
    font-size: 18px;
    line-height: 1.4;
  }
  .br-popup-warning .br-popup-close {
    bottom: 26px;
    width: 146px;
    height: 51px;
  }
}
