/* OPAL Global v17 — isolated Register Interest success modal styling.
   Loaded only on the front page. Does not modify opal.css or change the
   layout of any existing element. */
.opal-modal[hidden] {
  display: none;
}

.opal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.opal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 50, 0.55);
}

.opal-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--paper, #fbfaf7);
  color: var(--navy-900, #08142e);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(10, 23, 50, 0.3);
  padding: 40px 36px 36px;
  text-align: left;
}

.opal-modal-panel h2 {
  margin: 0 0 12px;
  color: var(--navy-900, #08142e);
  font-size: 1.5rem;
}

.opal-modal-panel p {
  margin: 0 0 24px;
  color: var(--muted, #66708a);
}

.opal-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted, #66708a);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.opal-modal-close:hover,
.opal-modal-close:focus-visible {
  color: var(--navy-900, #08142e);
}

.opal-modal-ok {
  border-radius: 4px;
  color: var(--navy-900, #08142e);
  background: var(--gold-light, #e7bd8c);
  border: none;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
}

.opal-modal-ok:hover,
.opal-modal-ok:focus-visible {
  background: var(--gold, #ca955b);
}
