/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* Modal — posicionamento real (sobrepõe o demo inline do design system) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 61, 42, 0.28);
  backdrop-filter: blur(3px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-container {
  position: relative;
  width: min(880px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(28, 61, 42, 0.5);
  z-index: 50;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-header h3 { font-size: 18px; }
.modal-body { padding: 22px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}
