.modal-custom {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.modal-custom[data-visibility='show'] {
  opacity: 1;
  pointer-events: auto;
}

.modal-custom > .wrapper {
  max-width: 100%;
  padding: 1rem;
}

.modal-custom .dialog {
  width: clamp(calc(100% - 2rem), 500px, 1100px);
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: auto;
}

.modal-custom .dialog .header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-custom .dialog .header P {
  margin-bottom: unset;
}

.modal-custom .dialog .body {
  overflow: auto;
  padding: 1rem 0;
}

.modal-custom .dialog .footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-custom .dialog .footer .btn-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
