body .sas-onboarding-tour-button {
  position: fixed !important;
  inset: auto 20px 20px auto !important;
  left: auto !important;
  top: auto !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 1000000001 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ef6c00 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

body .sass-portal-content {
  position: relative;
}

body .sas-onboarding-tour-host {
  position: relative;
}

body .sas-onboarding-tour-button.sas-onboarding-tour-button--embedded,
body .sas-onboarding-tour-button.sas-onboarding-tour-button--embedded.sas-onboarding-tour-button--top-right,
body .sas-onboarding-tour-button.sas-onboarding-tour-button--top-right:not(.sas-onboarding-tour-button--embedded) {
  position: absolute !important;
  inset: auto 20px 20px auto !important;
  left: auto !important;
  top: auto !important;
  right: 20px !important;
  bottom: 20px !important;
}

body .sas-onboarding-tour-button.sas-onboarding-tour-button--embedded.sas-onboarding-tour-button--instructions {
  inset: 20px 20px auto auto !important;
  top: 20px !important;
  bottom: auto !important;
}

body .sas-onboarding-tour-button.sas-onboarding-tour-button--embedded.sas-onboarding-tour-button--revisit {
  inset: auto 20px 20px auto !important;
  top: auto !important;
  bottom: 20px !important;
}

body .sas-onboarding-tour-button.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px);
}

body .sas-onboarding-tour-button:hover,
body .sas-onboarding-tour-button:focus {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body .sas-onboarding-tour-button + .sas-onboarding-tour-button {
  bottom: 78px;
}

.driver-popover {
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.driver-popover.sas-onboarding-popover {
  max-width: 360px !important;
  min-width: 280px !important;
  padding: 18px !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24) !important;
}

.driver-popover-title {
  font-size: 18px;
  font-weight: 700;
}

.driver-popover-description {
  font-size: 14px;
  line-height: 1.55;
}

.driver-popover.sas-onboarding-popover .driver-popover-title {
  padding-right: 56px;
}

.driver-popover.sas-onboarding-popover .driver-popover-description {
  margin-top: 8px;
}

.driver-popover.sas-onboarding-popover .driver-popover-close-btn {
  position: absolute !important;
  inset: 8px 8px auto auto !important;
  left: auto !important;
  bottom: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 22px !important;
  transform: translateY(-2px) !important;
  border: 1px dashed #d1d5db !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  color: #6b7280 !important;
  text-indent: 0 !important;
  overflow: hidden !important;
  outline: none !important;
  z-index: 3 !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-close-btn:hover,
.driver-popover.sas-onboarding-popover .driver-popover-close-btn:focus {
  color: #111827 !important;
  background: rgba(17, 24, 39, 0.03) !important;
  box-shadow: none !important;
  outline: none !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-progress-text {
  display: block !important;
  font-size: 12px !important;
  color: #6b7280 !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-navigation-btns {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-grow: 1 !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-footer button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 110px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-next-btn {
  background: #ef6c00 !important;
  color: #ffffff !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-prev-btn {
  color: #1f2937 !important;
}

.driver-popover.sas-onboarding-popover .driver-popover-btn-disabled {
  opacity: 0.45 !important;
  pointer-events: none !important;
}

.sas-tour-inspector-overlay {
  position: fixed;
  z-index: 10001;
  border: 2px solid #ef6c00;
  border-radius: 10px;
  background: rgba(239, 108, 0, 0.12);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  display: none;
}

.sas-tour-inspector-bar {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10002;
  width: min(420px, calc(100vw - 24px));
  background: #1f2937;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
  padding: 16px 18px;
}

.sas-tour-inspector-bar__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sas-tour-inspector-bar__text {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
}

.sas-tour-inspector-bar__close {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #ef6c00;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .sas-onboarding-tour-button {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .sas-tour-inspector-bar {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
