.go-live-progress-heading {
  padding: 2.5rem 0 0.75rem;
  background: #f7f9fc;
}

.go-live-progress-heading .page__title {
  margin: 0;
  padding-inline-start: 1rem;
  border-inline-start: 4px solid #42bb96;
  color: #1e3564;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.go_live_progress_bar {
  min-height: 22rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}

.go_live_progress_bar .page-layout-sidebar-default > .container {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(30, 53, 100, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(30, 53, 100, 0.1);
  padding: 2rem 2.5rem !important;
  color: #1e3564;
  margin: 1.25rem auto 0 !important;
  width: calc(100% - 2rem);
}

.go_live_progress_bar .page-layout-sidebar-default > .container::before {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3564 0%, #1f6580 65%, #42bb96 100%);
  content: "";
}

/* Label above bar */
.go_live_progress_bar .progress__label {
  display: block;
  margin-bottom: 1.25rem;
  color: #1e3564;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Drupal core progress markup fallback. */
.go_live_progress_bar .progress__track {
  background-color: #eef3f7;
  border-radius: 20px;
  overflow: hidden;
  height: 16px;
  margin-bottom: 12px;
  position: relative;
}

/* Support both Drupal core and the Radix Drupal 11 progress markup. */
.go_live_progress_bar .progress__bar,
.go_live_progress_bar .progress-bar {
  background: linear-gradient(90deg, #1e3564 0%, #1f6580 65%, #42bb96 100%);
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease-in-out;
}

/* Percentage and Description BELOW the bar */
.go_live_progress_bar .progress__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 8px;
}

.go_live_progress_bar .progress__percentage {
  font-weight: 700;
  color: #42bb96;
}

.go_live_progress_bar .progress__description {
  margin-top: 0.65rem;
  color: #6b7a90;
  font-size: 0.875rem;
}

/* Drupal 11 Radix progress wrapper. */
.go_live_progress_bar .progress-wrapper {
  width: 100%;
}

.go_live_progress_bar .progress {
  display: flex !important;
  height: 16px !important;
  padding: 0;
  background-color: rgba(30, 53, 100, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.go_live_progress_bar .progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  background-image:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.08) 62%,
      transparent 80%
    ),
    linear-gradient(90deg, #1e3564 0%, #1f6580 65%, #42bb96 100%) !important;
  background-position: 180% 0, 0 0;
  background-size: 240% 100%, 100% 100%;
  animation: go-live-water-flow 4s ease-in-out infinite !important;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.2),
    inset 0 -2px 3px rgba(13, 49, 83, 0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(13, 49, 83, 0.45);
}

@keyframes go-live-water-flow {
  0%,
  100% {
    background-position: 180% 0, 0 0;
  }

  50% {
    background-position: -80% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go_live_progress_bar .progress-bar {
    animation: none !important;
  }
}

/* RTL Support */
html[dir="rtl"] .go_live_progress_bar .progress__footer {
  flex-direction: row-reverse;
}

@media (max-width: 425px) {
  .go-live-progress-heading {
    padding: 1.75rem 0 0.5rem;
  }

  .go-live-progress-heading .page__title {
    font-size: 1.5rem;
  }

  .go_live_progress_bar .page-layout-sidebar-default > .container {
    padding: 1.5rem 1.25rem !important;
    width: calc(100% - 1.5rem);
  }
}
