/* Modal moderno para flujos deshabilitados en el portal estático. */
.accessNoticeOverlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 27, 38, .58);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.accessNoticeOverlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.accessNoticeDialog {
  position: relative;
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f4fbfe 100%);
  box-shadow: 0 24px 70px rgba(5, 33, 47, .34);
  color: #18313d;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .24s cubic-bezier(.2, .75, .25, 1);
}

.accessNoticeOverlay.is-visible .accessNoticeDialog {
  transform: translateY(0) scale(1);
}

.accessNoticeDialog::before {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #159dd8, #65d4c2);
  content: "";
}

.accessNoticeContent {
  padding: 34px 34px 30px;
}

.accessNoticeIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e1f5fb;
  color: #159dd8;
  box-shadow: 0 10px 24px rgba(21, 157, 216, .2);
}

.accessNoticeIcon svg {
  width: 34px;
  height: 34px;
}

.accessNoticeTitle {
  margin: 0 0 10px;
  color: #123847;
  font: 700 24px/1.2 Arial, sans-serif;
}

.accessNoticeMessage {
  margin: 0 auto 24px;
  max-width: 340px;
  color: #52707d;
  font: 16px/1.55 Arial, sans-serif;
}

.accessNoticeClose {
  min-width: 124px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #159dd8, #1688be);
  box-shadow: 0 8px 18px rgba(21, 157, 216, .25);
  color: #fff;
  cursor: pointer;
  font: 700 14px/1 Arial, sans-serif;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.accessNoticeClose:hover,
.accessNoticeClose:focus-visible {
  box-shadow: 0 11px 24px rgba(21, 157, 216, .35);
  filter: brightness(1.05);
  outline: none;
  transform: translateY(-1px);
}

.accessNoticeDismiss {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 157, 216, .08);
  color: #52707d;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.accessNoticeDismiss:hover,
.accessNoticeDismiss:focus-visible {
  background: rgba(21, 157, 216, .16);
  color: #123847;
  outline: none;
}

@media (max-width: 560px) {
  .accessNoticeOverlay { padding: 16px; }
  .accessNoticeContent { padding: 30px 22px 24px; }
  .accessNoticeTitle { font-size: 21px; }
  .accessNoticeMessage { font-size: 15px; }
 }
