:root {
  --outage-banner-height: 0px;
}

.outage-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: #b00020;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transform: translateY(-110%);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.outage-banner.is-resolved {
  background: #0f8a4f;
}

.outage-banner.is-visible {
  transform: translateY(0);
}

.outage-banner__content {
  max-width: 2000px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.outage-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}

.outage-banner__text {
  min-width: 0;
  flex: 1 1 auto;
}

.outage-banner__title {
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-size: 0.95rem;
}

.outage-banner__message {
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.25;
  font-size: 0.9rem;
}

.outage-banner__cta {
  flex: 0 0 auto;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.outage-banner__cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Push fixed headers down when present */
.header {
  top: var(--outage-banner-height) !important;
}

@media (max-width: 720px) {
  .outage-banner__message {
    display: none;
  }
}
