/* Always-visible journey panel. Black, #111, #F7931A. Know more. Bank less. */
.max-band,
#maxBand {
  display: none !important;
}

.max-band-signout,
#maxBandSignOut,
#journeySignOut,
#journeyPanelSignOut {
  display: none !important;
}

.max-band .q-chat-bubble,
.max-band .max-avatar-intro,
.max-band .max-avatar-line {
  display: none !important;
}

.max-band-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #F7931A;
}

.max-band-name span {
  color: #a3a3a3;
  font-weight: 600;
}

body.journey-on #qWelcome .q-partner-head {
  position: static;
}

.journey-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
  background: #000;
  border-bottom: 2px solid #F7931A;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.journey-bar-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0 12px;
  border: 2px solid #F7931A;
  border-radius: 10px;
  background: #111;
  color: #F7931A;
  font-weight: 700;
  cursor: pointer;
}

.journey-bar-next,
#journeyNext,
#journeyNextPanel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #F7931A;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.journey-bar-label {
  flex: 1 1 auto;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.journey-panel {
  background: #000;
  color: #ffffff;
  border-right: 1px solid #2a2a2a;
  font-family: Montserrat, Arial, sans-serif;
}

.journey-panel h2,
.journey-kicker {
  margin: 0 0 8px;
  color: #F7931A;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-products,
.journey-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.journey-products li,
.journey-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px 12px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  font-size: 14px;
}

.journey-products li.is-owned {
  border-color: #F7931A;
}

.journey-lock {
  color: #F7931A;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-add {
  color: #F7931A;
  font-weight: 700;
  text-decoration: none;
}

.journey-steps li[data-status="done"] {
  color: #a3a3a3;
}

.journey-steps li[data-status="current"] {
  border-color: #F7931A;
  color: #F7931A;
  font-weight: 700;
}

.journey-steps li[data-status="not_yet"] {
  color: #a3a3a3;
}

.journey-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid #F7931A;
  border-radius: 10px;
  background: #111;
  color: #F7931A;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.flow-fail {
  padding: 12px;
}

.flow-fail-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  color: #ffffff;
  font-family: Montserrat, Arial, sans-serif;
}

.flow-fail-retry,
button.flow-fail-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 2px solid #F7931A;
  border-radius: 10px;
  background: transparent;
  color: #F7931A;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .max-band {
    display: none;
  }
  .journey-bar {
    top: 0;
  }
  .journey-bar-open {
    display: none;
  }
  .journey-panel {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    width: 280px;
    overflow: auto;
    padding: 16px 14px 28px;
    z-index: 55;
  }
  body.journey-on {
    padding-left: 280px;
  }
}

@media (max-width: 1023px) {
  .journey-bar {
    min-height: 36px;
    padding: 0 10px;
    gap: 0;
  }
  .journey-bar-label,
  .journey-bar-next,
  #journeyNext,
  #journeySignOut {
    display: none;
  }
  body.journey-on #pageSignOut,
  body.journey-on #stageSignOut,
  body.journey-on #signOutDevice {
    display: none !important;
  }
  .journey-bar-open {
    flex: 1 1 auto;
    min-height: 36px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .journey-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 84px;
    max-height: calc(100vh - 84px);
    overflow: auto;
    padding: 16px 14px 28px;
    z-index: 65;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  }
  body.journey-open .journey-panel {
    display: block;
  }
  #journeyNextPanel {
    display: inline-flex;
    margin: 0 8px 12px 0;
  }
  body.journey-on {
    padding-top: 0;
  }
  body.pay-already-member header.top .desk-nav,
  body.pay-fail-shown header.top .desk-nav {
    display: none !important;
  }
}
