/* Utility classes the Tailwind build did not emit (no tailwind.config in this repo,
   so style.css is a one-shot build artifact). Keep in sync when markup changes. */
[x-cloak] {
  display: none !important;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Layout lives here, not inline: Alpine's x-show owns the inline display property,
   so an inline display:flex would be stripped the moment the modal opens. */
.nexo-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
}

.nexo-modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nexo-modal-panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--line, #e5e5e5);
  background: var(--surface, #fff);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
}
