/*
  SupportBridge production agent transport.
  Hides raw HTTP 502/Bad Gateway details from users and shows a production-safe transient status.
*/

.sb-agent-transport-issue {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border: 1px solid #fed7aa !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.sb-agent-transport-issue::before {
  content: "Связь с сервисом: ";
  font-weight: 900;
}

.sb-agent-transport-issue.is-persistent {
  border-color: #fecaca !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.sb-agent-transport-issue.is-muted {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.sb-agent-transport-issue * {
  color: inherit !important;
  font: inherit !important;
}
