.dialog-wrapper {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background-body);
  color: var(--color-text-primary);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

  height: 90vh;
  max-height: 800px;
  width: 100%;
  max-width: 1100px;

  .dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    gap: 16px;
    flex-shrink: 0;

    h2 {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0;
      font-size: 1.5em;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .dialog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;

    .filter-controls {
      margin-bottom: 16px;
      flex-shrink: 0;
    }

    .table-container {
      flex: 1;
      min-height: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .pagination-container {
      flex-shrink: 0;
      margin-top: 16px;
      display: flex;
      justify-content: flex-start;
    }
  }
}
