@charset "utf-8";
/* CSS Document */
/* Base helpers for demo */
.mb-3a {
    margin-bottom: 1rem;
    color: #fff;
}
.mb-4 { margin-bottom: 1.5rem; }
.text-start { text-align: left; }

/* ===== Modal layout (borderless floating window) ===== */
.ais-modal {
  position: fixed;
  inset: 0;
  display: none;           /* toggled via [data-open="true"] */
  z-index: 1050;
}

.ais-modal[data-open="true"] {
  display: block;
}

.ais-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  /* Optional blur: */
  /* backdrop-filter: blur(2px); */
}

.ais-modal__dialog {
  position: relative;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: min(720px, 92vw);
  width: 100%;
  background: transparent;   /* borderless look */
  border: none;
  box-shadow: none;
  padding: 0 16px;           /* edge breathing room on mobile */
  outline: none;             /* handled via focus styles below */
}

.ais-modal__content {
  background: #111827E6;     /* semi-opaque dark card (change to #fff for light) */
  color: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ais-modal__content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ais-modal__close {
  position: absolute;
  top: -12px;
  right: 8px;
  font-size: 32px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #fff;
  opacity: 0.85;
  cursor: pointer;
}

.ais-modal__close:hover {
  opacity: 1;
}

/* Keyboard focus ring for accessibility 
.ais-modal__dialog:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}*/

/* Optional: prevent background scroll when modal open (class toggled in JS) */
html.modal-open, body.modal-open {
  overflow: hidden;
}
