#status-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  height: auto;
  min-height: 30px;
  padding: 6px 40px 6px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

#status-banner.status-banner--active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#status-banner.status-banner--warning {
  background-color: #f59e0b;
  color: #1a1a1a;
}

#status-banner.status-banner--error {
  background-color: #ef4444;
  color: #ffffff;
}

#status-banner.status-banner--critical {
  background-color: #dc2626;
  color: #ffffff;
}

#status-banner .status-banner-text {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#status-banner .status-banner-link {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

#status-banner .status-banner-link:hover {
  opacity: 0.8;
}

#status-banner .status-banner-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.7;
}

#status-banner .status-banner-close:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  #status-banner {
    font-size: 12px;
    padding: 4px 32px 4px 8px;
  }
}
