/*
  What BrandMudTheme cannot set: the app's look for MudBlazor parts. Link after MudBlazor.min.css and brand-tokens.css.
*/

body {
  font-family: var(--ba-font);
}

/* Cards like the app's (StyleDef Card style): flat with a 1px border instead of a drop shadow. */
.mud-card,
.mud-paper:is(.mud-elevation-1, .mud-elevation-2, .mud-elevation-3, .mud-elevation-4):not(.mud-appbar):not(.mud-drawer) {
  box-shadow: none;
  border: 1px solid var(--ba-line-strong);
}

/* Controls use the app's smaller radius (buttons, text boxes); cards keep the theme's 4px. */
.mud-button,
.mud-input-outlined-border,
.mud-input.mud-input-filled,
.mud-chip:not(.mud-chip-size-small) {
  border-radius: var(--ba-radius-sm);
}

/* Brand mark in the app bars (BrandMark component): logo, product name and the app's name. */
.ba-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.ba-brand:hover {
  text-decoration: none;
}

.ba-brand img {
  width: 24px;
  height: 28px;
  object-fit: contain;
}

.ba-brand-name {
  font-size: 1.125rem;
  font-weight: 500;
}

.ba-brand-suffix {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ba-muted);
}
