﻿.mud-chat-bubble.mud-chat-filled-primary:not(.message-emoji-only):hover,
.mud-chat-bubble.mud-chat-filled-primary:not(.message-emoji-only):focus-visible,
.mud-chat-bubble.mud-chat-filled-primary:not(.message-emoji-only):active {
  background: var(--fruuli-bubble-own-hover) !important;
  color: var(--mud-palette-text-primary) !important;
}

.mud-chat-bubble.mud-chat-text-default:not(.message-emoji-only):hover,
.mud-chat-bubble.mud-chat-text-default:not(.message-emoji-only):focus-visible,
.mud-chat-bubble.mud-chat-text-default:not(.message-emoji-only):active {
  background-color: rgba(var(--mud-palette-primary-rgb), 0.1) !important;
  color: var(--mud-palette-text-primary) !important;
}

.mud-chat-bubble {
  word-wrap: break-word;
  text-align: start !important;
}

.mud-chat-header.chat-sender {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

.chat-sender-name {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Tabs that split the dialog evenly instead of bunching up on the left. MudBlazor sizes a
   tab to its label, which leaves three short words hugging one edge of a narrow modal. */
.full-width-tabs .mud-tabs-toolbar-inner {
  width: 100%;
}

.full-width-tabs .mud-tab {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}
