/* Бета-статус платформы и паспорт сервиса в футере */

.aspro-platform-status {
  width: 100%;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  line-height: 1.35;
}

.aspro-platform-status--ok {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.04));
  color: #14532d;
}

.aspro-platform-status--maintenance {
  background: linear-gradient(90deg, rgba(202, 138, 4, 0.16), rgba(202, 138, 4, 0.05));
  color: #713f12;
}

.aspro-platform-status--degraded {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.14), rgba(220, 38, 38, 0.05));
  color: #7f1d1d;
}

.aspro-platform-status__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 7px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.aspro-platform-status[hidden] {
  display: none !important;
}
.aspro-platform-status__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.aspro-platform-status__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.aspro-platform-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex: 0 0 auto;
}

.aspro-platform-status--ok .aspro-platform-status__dot { background: #16a34a; }
.aspro-platform-status--maintenance .aspro-platform-status__dot { background: #ca8a04; }
.aspro-platform-status--degraded .aspro-platform-status__dot { background: #dc2626; }

.aspro-platform-status__body { flex: 1 1 auto; min-width: 0; }

.aspro-platform-status__title {
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.aspro-platform-status__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.85;
}

.aspro-platform-status__message { margin-top: 2px; }

.aspro-platform-status__toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aspro-platform-status__detail {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.92;
}

.aspro-platform-status__detail a {
  color: inherit;
  font-weight: 600;
}

.aspro-service-passport {
  margin-top: 6px;
  line-height: 1.45;
  font-size: 10px;
}

.aspro-service-passport a {
  color: var(--gov-link, #2563eb);
  text-decoration: none;
}

.aspro-service-passport a:hover { text-decoration: underline; }

.gov-legal-footer--official {
  opacity: 1;
  font-size: 10px;
}

.gov-legal-footer--official .gov-legal-footer__nav a {
  font-size: 10px;
}

/* Landing */
.landing-platform-status {
  position: relative;
  z-index: 20;
}

.footer__passport {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.footer__passport a {
  color: rgba(255, 255, 255, 0.82);
}
