.rc-demo-walkthrough__banner {
  position: sticky;
  top: 0;
  z-index: 9996;
  width: calc(100% - 1.5rem);
  margin: 0.75rem auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 10px,
      transparent 10px,
      transparent 20px
    ),
    linear-gradient(90deg, #111318, #19150f 54%, #3a1711 100%);
  color: #ffffff;
  padding: 0.95rem 1rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  text-align: left;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.rc-demo-walkthrough__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 173, 96, 0.36);
  border-radius: inherit;
  pointer-events: none;
}

.rc-demo-walkthrough__banner::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.34), transparent 68%);
  pointer-events: none;
}

.rc-demo-walkthrough__banner-flag,
.rc-demo-walkthrough__banner-copy-wrap,
.rc-demo-walkthrough__banner-action {
  position: relative;
  z-index: 1;
}

.rc-demo-walkthrough__banner-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  background: #f04a32;
  color: #fff6ec;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.69rem;
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.rc-demo-walkthrough__banner-copy-wrap {
  min-width: 0;
}

.rc-demo-walkthrough__banner-copy {
  font-weight: 700;
  font-size: 1.02rem;
  display: block;
  line-height: 1.2;
}

.rc-demo-walkthrough__banner-subcopy {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.rc-demo-walkthrough__banner-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.rc-demo-walkthrough__banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08d, #ffb347);
  color: #281304;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(255, 170, 80, 0.22);
}

.rc-demo-walkthrough__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 9997;
}

.rc-demo-walkthrough__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rc-demo-walkthrough__panel {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(420px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #101114;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  border-radius: 18px;
  padding: 1.15rem;
  z-index: 9999;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  font-family: Arial, sans-serif;
}

.rc-demo-walkthrough__panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rc-demo-walkthrough__top,
.rc-demo-walkthrough__actions,
.rc-demo-walkthrough__meta,
.rc-demo-walkthrough__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rc-demo-walkthrough__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #ff7d75;
  font-weight: 700;
}

.rc-demo-walkthrough__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.rc-demo-walkthrough__progress {
  margin: 0.9rem 0 1rem;
  align-items: flex-start;
  flex-direction: column;
}

.rc-demo-walkthrough__progress span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.rc-demo-walkthrough__progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.rc-demo-walkthrough__progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ef4137, #ff8d67);
}

.rc-demo-walkthrough__panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
  line-height: 1.2;
}

.rc-demo-walkthrough__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.rc-demo-walkthrough__proof {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.rc-demo-walkthrough__proof-title {
  margin: 0 0 0.55rem;
  color: #ffb6b0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rc-demo-walkthrough__proof ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.rc-demo-walkthrough__proof-item + .rc-demo-walkthrough__proof-item {
  margin-top: 0.8rem;
}

.rc-demo-walkthrough__proof-item-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.rc-demo-walkthrough__proof-item-detail {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.rc-demo-walkthrough__mini-metric {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

.rc-demo-walkthrough__mini-metric-label {
  color: #ffb6b0;
}

.rc-demo-walkthrough__mini-metric-values {
  color: rgba(255, 255, 255, 0.72);
}

.rc-demo-walkthrough__meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.rc-demo-walkthrough__metric-card {
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-demo-walkthrough__metric-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.rc-demo-walkthrough__metric-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.4rem;
  line-height: 1;
}

.rc-demo-walkthrough__metric-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.68);
}

.rc-demo-walkthrough__tooltip {
  appearance: none;
  border: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.72rem;
  cursor: help;
}

.rc-demo-walkthrough__tooltip-layer {
  position: fixed;
  z-index: 10001;
  max-width: 260px;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: #1d1f26;
  color: #ffffff;
  font-size: 0.74rem;
  line-height: 1.4;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.26);
  pointer-events: none;
}

.rc-demo-walkthrough__tooltip-layer::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #1d1f26;
  transform: translateX(-50%) rotate(45deg);
}

.rc-demo-walkthrough__tooltip-layer[data-placement="top"]::after {
  bottom: -5px;
}

.rc-demo-walkthrough__tooltip-layer[data-placement="bottom"]::after {
  top: -5px;
}

.rc-demo-walkthrough__actions {
  margin-top: 1rem;
}

.rc-demo-walkthrough__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.rc-demo-walkthrough__button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.rc-demo-walkthrough__button--primary {
  background: #ef4137;
  color: #ffffff;
}

.rc-demo-walkthrough__button[disabled] {
  opacity: 0.45;
  cursor: default;
}

.rc-demo-walkthrough__badge {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
}

.rc-demo-highlight {
  position: relative;
  z-index: 9998;
  outline: 4px solid rgba(239, 65, 55, 0.82) !important;
  outline-offset: 8px !important;
  border-radius: 8px;
  transition: outline-color 180ms ease;
}

@media (max-width: 720px) {
  .rc-demo-walkthrough__banner {
    width: calc(100% - 1rem);
    grid-template-columns: 1fr;
    padding: 0.85rem 0.85rem 0.95rem;
  }

  .rc-demo-walkthrough__banner-action {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .rc-demo-walkthrough__panel {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    bottom: 0.75rem;
    max-height: calc(100vh - 1.5rem);
  }

  .rc-demo-walkthrough__meta {
    grid-template-columns: 1fr;
  }
}