/* ===== Status Widget Styles ===== */
.status-widget-fab {
  position: fixed;
  bottom: 232px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--mud-palette-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1100;
}
.status-widget-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.status-widget-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--mud-palette-error);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
  pointer-events: none;
  min-width: 18px;
  text-align: center;
}

.status-widget-badge-warning {
  background-color: var(--mud-palette-warning);
}

.status-widget-badge-error {
  background-color: var(--mud-palette-error);
}

.status-widget-badge-info {
  background-color: var(--mud-palette-info);
}

.status-widget {
  position: fixed;
  bottom: 232px;
  right: 24px;
  z-index: 1100;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background-color: var(--mud-palette-background);
}

.status-widget-expanded {
  width: 340px;
  max-height: 460px;
  display: flex;
  flex-direction: column;
}

.status-widget-header {
  background-color: var(--mud-palette-primary);
  color: white;
}

.status-widget-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

.status-widget-animate-in {
  animation: status-widget-pop-in 0.18s ease-out;
}

@keyframes status-widget-pop-in {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
