/* AllureAI Portal: simple guided tour (no external deps) */

:root {
  --allure-tour-overlay: rgba(0, 0, 0, 0.58);
  --allure-tour-panel: rgba(18, 18, 23, 0.92);
  --allure-tour-border: rgba(255, 255, 255, 0.14);
  --allure-tour-text: rgba(244, 244, 245, 0.95);
  --allure-tour-muted: rgba(161, 161, 170, 0.95);
  --allure-tour-accent: rgba(244, 63, 140, 1);
  --allure-tour-accent-2: rgba(244, 63, 140, 0.35);
}

.allure-tour-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.allure-tour-overlay {
  position: fixed;
  inset: 0;
  /* Use spotlight shadow for dimming; keep this layer as a click-blocker only. */
  background: transparent;
  pointer-events: auto; /* blocks clicks */
}

.allure-tour-spotlight {
  position: fixed;
  pointer-events: none;
  border-radius: 14px;
  box-shadow:
    0 0 0 9999px var(--allure-tour-overlay),
    0 0 0 2px rgba(255,255,255,0.14),
    0 0 0 3px rgba(244,63,140,0.55),
    0 12px 50px rgba(0,0,0,0.55);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.allure-tour-tooltip {
  position: fixed;
  max-width: min(420px, calc(100vw - 24px));
  min-width: min(340px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--allure-tour-panel);
  color: var(--allure-tour-text);
  border: 1px solid var(--allure-tour-border);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 14px 60px rgba(0,0,0,0.6);
  padding: 14px 14px 12px 14px;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.allure-tour-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.allure-tour-body {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35rem;
  color: var(--allure-tour-muted);
}

.allure-tour-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.allure-tour-progress {
  font-size: 11px;
  color: rgba(161, 161, 170, 0.9);
}

.allure-tour-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.allure-tour-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(244,244,245,0.95);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.allure-tour-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 420px) {
  .allure-tour-tooltip {
    min-width: auto;
    padding: 12px 12px 10px 12px;
  }
  .allure-tour-title {
    font-size: 13px;
  }
  .allure-tour-body {
    font-size: 12.5px;
    line-height: 1.25rem;
  }
  .allure-tour-btn {
    padding: 7px 9px;
    font-size: 11.5px;
  }
}

.allure-tour-btn:hover {
  background: rgba(255,255,255,0.10);
}

.allure-tour-btn-primary {
  border-color: rgba(244,63,140,0.35);
  background: rgba(244,63,140,0.85);
  color: white;
}
.allure-tour-btn-primary:hover {
  background: rgba(244,63,140,0.95);
}

.allure-tour-btn-ghost {
  border-color: rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(161,161,170,0.95);
}
.allure-tour-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(244,244,245,0.9);
}

.allure-tour-arrow {
  position: absolute;
  width: 0;
  height: 0;
}
.allure-tour-arrow-top {
  top: -9px;
  left: 22px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--allure-tour-panel);
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,0.12));
}
.allure-tour-arrow-bottom {
  bottom: -9px;
  left: 22px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--allure-tour-panel);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.12));
}
.allure-tour-arrow-left {
  left: -9px;
  top: 18px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 9px solid var(--allure-tour-panel);
  filter: drop-shadow(-1px 0 0 rgba(255,255,255,0.12));
}
.allure-tour-arrow-right {
  right: -9px;
  top: 18px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid var(--allure-tour-panel);
  filter: drop-shadow(1px 0 0 rgba(255,255,255,0.12));
}

.allure-tour-kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.24);
  color: rgba(244,244,245,0.92);
}

