/* SayarahGo 1.25.3: accessible, progressively enhanced Travel Agent application wizard. */

.bcsg-agent-wizard__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.bcsg-agent-wizard__progress li {
  align-items: center;
  color: var(--bcsg-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 12px;
  position: relative;
  text-align: center;
}

.bcsg-agent-wizard__progress li::after {
  background: rgba(83, 0, 95, 0.12);
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  right: -50%;
  top: 21px;
  z-index: 0;
}

.bcsg-agent-wizard__progress li:last-child::after {
  display: none;
}

.bcsg-agent-wizard__progress li > span {
  align-items: center;
  background: #f5edf7;
  border: 2px solid transparent;
  border-radius: 50%;
  color: var(--bcsg-primary);
  display: flex;
  font-size: 16px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 4px;
  position: relative;
  width: 42px;
  z-index: 1;
}

.bcsg-agent-wizard__progress strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.bcsg-agent-wizard__progress small {
  font-size: 11px;
  line-height: 1.25;
}

.bcsg-agent-wizard__progress .is-current {
  color: var(--bcsg-primary);
}

.bcsg-agent-wizard__progress .is-current > span {
  background: var(--bcsg-gold);
  box-shadow: 0 8px 18px rgba(255, 191, 0, 0.25);
}

.bcsg-agent-wizard__progress .is-complete {
  color: var(--bcsg-primary);
}

.bcsg-agent-wizard__progress .is-complete > span {
  background: var(--bcsg-primary);
  color: #fff;
}

.bcsg-agent-wizard__progress .is-complete::after {
  background: var(--bcsg-primary);
}

.bcsg-agent-wizard__step {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.bcsg-agent-wizard__step > legend {
  color: var(--bcsg-primary);
  float: left;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  scroll-margin-top: 120px;
  width: 100%;
}

.bcsg-agent-wizard__step > legend + * {
  clear: both;
}

.bcsg-agent-wizard__intro {
  color: var(--bcsg-muted);
  line-height: 1.6;
  margin: 10px 0 24px;
}

.bcsg-agent-wizard__actions {
  display: none;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--bcsg-border);
}

.bcsg-agent-wizard__actions--submit {
  display: flex;
}

.bcsg-agent-wizard.is-enhanced .bcsg-agent-wizard__actions {
  display: flex;
}

.bcsg-agent-wizard .bcsg-btn--outline {
  background: #fff;
  border-color: rgba(83, 0, 95, 0.28);
  color: var(--bcsg-primary);
}

.bcsg-agent-wizard .bcsg-btn--outline:hover {
  background: #fbf7fc;
  border-color: var(--bcsg-primary);
}

.bcsg-agent-wizard.is-enhanced .bcsg-agent-wizard__step[hidden] {
  display: none !important;
}

.bcsg-agent-wizard .bcsg-agent-form__checks {
  gap: 10px;
}

.bcsg-agent-wizard .bcsg-agent-form__checks label {
  align-items: center;
  color: var(--bcsg-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  min-height: 52px;
  padding: 11px 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.bcsg-agent-wizard .bcsg-agent-form__checks label:hover {
  background: #fdf9fe;
  border-color: rgba(83, 0, 95, 0.28);
}

.bcsg-agent-wizard .bcsg-agent-form__checks label:has(input:checked) {
  background: rgba(83, 0, 95, 0.055);
  border-color: var(--bcsg-primary);
  color: var(--bcsg-primary);
}

.bcsg-agent-wizard__review {
  background: #fbf9fc;
  border: 1px solid rgba(83, 0, 95, 0.12);
  border-radius: 18px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  overflow: hidden;
}

.bcsg-agent-wizard__review > div {
  border-bottom: 1px solid rgba(83, 0, 95, 0.1);
  min-width: 0;
  padding: 16px 18px;
}

.bcsg-agent-wizard__review > div:nth-child(odd):not(.bcsg-agent-wizard__review-wide) {
  border-right: 1px solid rgba(83, 0, 95, 0.1);
}

.bcsg-agent-wizard__review-wide {
  grid-column: 1 / -1;
}

.bcsg-agent-wizard__review dt {
  color: var(--bcsg-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.bcsg-agent-wizard__review dd {
  color: var(--bcsg-text);
  font-size: 15px;
  font-weight: 750;
  margin: 0;
  overflow-wrap: anywhere;
}

.bcsg-agent-wizard .bcsg-agent-form__consent {
  background: #fff;
  border: 1px solid var(--bcsg-border);
  border-radius: 14px;
  color: var(--bcsg-text);
  padding: 14px;
}

.bcsg-agent-wizard .bcsg-form-submit {
  margin-top: 0;
}

@media (max-width: 760px) {
  .bcsg-agent-wizard__progress {
    gap: 2px;
    margin-bottom: 26px;
  }

  .bcsg-agent-wizard__progress li {
    gap: 6px;
    padding: 0 2px;
  }

  .bcsg-agent-wizard__progress li::after {
    left: 50%;
    right: -50%;
    top: 19px;
  }

  .bcsg-agent-wizard__progress li > span {
    height: 38px;
    width: 38px;
  }

  .bcsg-agent-wizard__progress small {
    display: none;
  }

  .bcsg-agent-wizard__progress strong {
    font-size: 11px;
  }

  .bcsg-agent-wizard .bcsg-agent-form__checks,
  .bcsg-agent-wizard__review {
    grid-template-columns: 1fr;
  }

  .bcsg-agent-wizard__review > div:nth-child(odd):not(.bcsg-agent-wizard__review-wide) {
    border-right: 0;
  }

  .bcsg-agent-wizard__actions {
    flex-direction: column-reverse;
  }

  .bcsg-agent-wizard__actions .bcsg-btn {
    width: 100%;
  }
}
