/* Styles are scoped to the notice so the existing site keeps its design. */
#aik-inactive-notice,
#aik-inactive-notice *,
#aik-inactive-backdrop {
  box-sizing: border-box;
}

#aik-inactive-notice {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: none;
  flex-direction: column;
  width: calc(100% - 32px);
  width: min(900px, calc(100% - 32px));
  max-width: 900px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  height: auto;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 6px solid #ffd300;
  border-radius: 20px;
  outline: none;
  background: #fff;
  color: #242424;
  font: 16px/1.5 'PT Sans', Arial, sans-serif;
  text-align: left;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .4);
  z-index: 2147483001;
}

#aik-inactive-notice[open],
#aik-inactive-notice.aik-notice-is-open {
  display: flex;
}

#aik-inactive-notice[hidden] {
  display: none !important;
}

#aik-inactive-notice::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
}

#aik-inactive-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 2147483000;
}

#aik-inactive-notice * {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}

#aik-inactive-notice .aik-notice-header {
  position: relative;
  flex: 0 0 auto;
  padding: 24px 32px 18px;
  border-bottom: 1px solid #e9e9e9;
  background: #fff;
  text-align: center;
}

#aik-inactive-notice .aik-notice-image {
  display: block;
  width: 100%;
  width: min(100%, 550px);
  max-width: 550px;
  height: auto;
  max-height: 175px;
  margin: 0 auto 14px;
  object-fit: contain;
}

#aik-inactive-notice .aik-notice-title {
  padding: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

#aik-inactive-notice .aik-notice-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 32px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

#aik-inactive-notice .aik-notice-intro {
  margin: 0 0 18px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
}

#aik-inactive-notice .aik-notice-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aik-location;
}

#aik-inactive-notice .aik-notice-locations li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px 12px 12px 46px;
  border: 1px solid #ece9df;
  border-radius: 10px;
  background: #faf9f6;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: break-word;
  counter-increment: aik-location;
}

#aik-inactive-notice .aik-notice-locations li::before {
  position: absolute;
  top: 14px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffd300;
  color: #242424;
  content: counter(aik-location);
  font: 700 13px/1 Arial, sans-serif;
}

#aik-inactive-notice .aik-notice-locations strong {
  display: block;
  font-weight: 700;
}

#aik-inactive-notice .aik-notice-message {
  margin: 24px 0 0;
  padding: 20px;
  border-left: 4px solid #ffd300;
  border-radius: 0 10px 10px 0;
  background: #fff9df;
}

#aik-inactive-notice .aik-notice-message p {
  margin: 0 0 14px;
  padding: 0;
  font-size: 17px;
  line-height: 1.55;
}

#aik-inactive-notice .aik-notice-message p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

#aik-inactive-notice .aik-notice-footer {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  padding: 14px 32px;
  border-top: 1px solid #e9e9e9;
  background: #fff;
}

#aik-inactive-notice button {
  appearance: none;
  cursor: pointer;
  text-align: center;
}

#aik-inactive-notice .aik-notice-dismiss {
  min-width: 230px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 10px;
  background: #ffd300;
  color: #242424;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

#aik-inactive-notice .aik-notice-dismiss:hover {
  background: #f0c600;
}

#aik-inactive-notice .aik-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 50%;
  background: #fff;
  color: #242424;
}

#aik-inactive-notice .aik-notice-close svg {
  width: 20px;
  height: 20px;
}

#aik-inactive-notice .aik-notice-close:hover {
  background: #fff5b8;
}

#aik-inactive-notice button:focus-visible,
#aik-inactive-notice .aik-notice-body:focus-visible {
  outline: 3px solid #242424;
  outline-offset: -4px;
}

@media (max-width: 600px) {
  #aik-inactive-notice {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  #aik-inactive-notice .aik-notice-header {
    padding: 20px 16px 14px;
  }

  #aik-inactive-notice .aik-notice-image {
    width: calc(100% - 26px);
    max-height: 116px;
    margin-bottom: 12px;
  }

  #aik-inactive-notice .aik-notice-title {
    font-size: 21px;
  }

  #aik-inactive-notice .aik-notice-body {
    padding: 18px 16px 22px;
  }

  #aik-inactive-notice .aik-notice-intro {
    font-size: 17px;
  }

  #aik-inactive-notice .aik-notice-locations {
    grid-template-columns: minmax(0, 1fr);
  }

  #aik-inactive-notice .aik-notice-message {
    padding: 16px;
  }

  #aik-inactive-notice .aik-notice-message p {
    font-size: 16px;
  }

  #aik-inactive-notice .aik-notice-footer {
    padding: 12px 16px;
  }

  #aik-inactive-notice .aik-notice-dismiss {
    width: 100%;
  }
}

@media (max-height: 520px) {
  #aik-inactive-notice .aik-notice-header {
    padding: 8px 52px;
  }

  #aik-inactive-notice .aik-notice-image {
    width: 210px;
    max-height: 68px;
    margin-bottom: 4px;
  }

  #aik-inactive-notice .aik-notice-title {
    font-size: 18px;
  }

  #aik-inactive-notice .aik-notice-footer {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
