
:root {
  --tour-bg:        #1a2328;
  --tour-bg-raised: #212d33;
  --tour-accent:    #00b4a0;
  --tour-border:    rgba(255,255,255,0.07);
  --tour-border-em: rgba(0,180,160,0.35);
  
  --tour-font: 'DM Sans', 'Barlow', sans-serif;
  --tour-mono: 'DM Mono', 'Fira Mono', monospace;
}

/* General ------------------------------------------------------------- */

.introjs-overlay {
  position: absolute;
  z-index: 10000;
  background-color: #000;
  opacity: 0;
}

.introjs-tooltip {
  background: var(--tour-bg);
  border: 1px solid var(--tour-border);
  border-radius: 12px;
  min-width: 505px;
  max-width: 560px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,180,160,0.08),
    0 24px 64px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.3);
  position: relative;
}

.introjs-tooltip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(0,180,160,0.5) 35%,
    rgba(0,180,160,0.8) 50%,
    rgba(0,180,160,0.5) 65%,
    transparent 95%
  );
  pointer-events: none;
  z-index: 1;
}

.introjs-tooltipReferenceLayer * {
  font-family: var(--tour-font);
}

.introjs-tooltiptext {
  padding: 20px 28px 24px;
  font-family: var(--tour-font);
  font-size: 14px;
  font-weight: 300;
  color: #e9efee !important;
  line-height: 1.7;
  letter-spacing: 0.1px;
  text-align: justify;
}

/* Step counter -------------------------------------------------------- */

.introjs-helperNumberLayer {
  background: var(--tour-bg-raised);
  border: 1px solid var(--tour-border-em);
  color: var(--tour-accent);
  font-family: var(--tour-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-shadow: none;
  border-radius: 6px;
  padding: 2px 6px;
}

/* Buttons ------------------------------------------------------------- */

.introjs-tooltipbuttons {
  padding: 12px 20px;
  background: transparent !important;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.introjs-button {
  margin: 0;
  padding: 5px 20px;
  border-radius: 6px;
  font-family: var(--tour-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.introjs-prevbutton {
  background: transparent !important;
  color: #7a8f8d !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
  float: left !important;
}
.introjs-prevbutton:hover {
  color: #e8ede9 !important;
  border-color: rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.04) !important;
}

.introjs-nextbutton,
.introjs-donebutton {
  background: #00b4a0 !important;
  color: #0e1a1d !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  float: none !important;
}
.introjs-nextbutton:hover,
.introjs-donebutton:hover {
  background: #00cdb8 !important;
  box-shadow: none !important;
}
.introjs-prevbutton.introjs-disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Arrows -------------------------------------------------------------- */

.introjs-arrow.left { 
  border-right-color:  var(--tour-accent); 
}
.introjs-arrow.top { 
  border-bottom-color: var(--tour-accent); 
}
.introjs-arrow.bottom { 
  border-top-color:    var(--tour-accent); 
}
.introjs-arrow.right,
.introjs-arrow.right-bottom { 
  border-left-color:   var(--tour-accent); 
}

/* Helper / highlight layer -------------------------------------------- */

.introjs-helperLayer {
  position: absolute;
  z-index: 10099;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow:
    0 0 0 4px rgba(0,180,160,0.15),
    0 0 0 9999px rgba(0,0,0,0.55);
  /* transition: all 0.3s ease-out; */
}

.introjs-fixParent {
  z-index: 100000 !important;
}

.introjs-bullets {
  display: none !important;
}
