﻿.text-end {
  text-align: end;
}

.text-start {
  text-align: start;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.d-grid {
  display: grid;
}

.z9001 {
  z-index: 9001 !important;
}

.z9002 {
  z-index: 9002 !important;
}

.no-wrap {
  white-space: nowrap !important;
}

.ellipsis-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.validation-error {
  color: red;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

#mud-snackbar-container {
  /* Place above content windows. */
  z-index: 9001 !important;
}

.components-reconnect-dialog {
  background-color: var(--mud-palette-surface) !important;
  color: var(--mud-palette-text-primary) !important;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text);
}

/*
 * The permission-catalog picker renders group headers as disabled autocomplete rows, so they read
 * as Material section subheaders instead of dimmed selectable items. The popover is portalled to
 * MudBlazor's popover provider, outside any component's scope, so these rules live in global CSS and
 * hang off the autocomplete's PopoverClass.
 */
.permission-catalog-popover .mud-list-item-disabled {
  min-height: auto;
  padding-top: 0.5rem;
  padding-bottom: 0;
  opacity: 1;
}

.permission-catalog-popover .permission-catalog-group-label {
  letter-spacing: 0.08em;
  color: var(--mud-palette-action-disabled);
}