.ui-dialog {
  @apply bg-isa-white p-8 grid gap-4 items-start rounded-[2rem] grid-flow-row text-isa-neutral-900 relative;
  @apply max-h-[90vh] max-w-[90vw] overflow-hidden;
  grid-template-rows: auto 1fr;

  .ui-dialog-title {
    @apply isa-text-subtitle-1-bold;
    @apply flex-shrink-0;
  }

  .ui-dialog-content {
    @apply flex flex-col gap-8;
    @apply overflow-y-auto overflow-x-hidden;
    @apply min-h-0;
  }

  .ui-dialog-close-cta {
    @apply flex justify-end items-center;
  }
}
