/* Guided tour layer for the case-study embed */

.ng-ring {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: 0 0 0 2px #1473e6, 0 0 0 6px rgba(20, 115, 230, 0.25);
  animation: ng-pulse 1.6s ease-out infinite;
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

@keyframes ng-pulse {
  0% { box-shadow: 0 0 0 2px #1473e6, 0 0 0 4px rgba(20, 115, 230, 0.35); }
  70% { box-shadow: 0 0 0 2px #1473e6, 0 0 0 14px rgba(20, 115, 230, 0); }
  100% { box-shadow: 0 0 0 2px #1473e6, 0 0 0 4px rgba(20, 115, 230, 0); }
}

.ng-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(640px, calc(100vw - 40px));
  padding: 12px 12px 12px 18px;
  border-radius: 10px;
  background: #16181b;
  color: #f3f3f1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  font: 14px/1.45 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ng-bar__text {
  flex: 1;
  min-width: 0;
}

.ng-bar__step {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  color: #9a9ea5;
}

.ng-bar__dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.ng-bar__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a3e44;
}

.ng-bar__dots i.is-done { background: #7ea4ff; }
.ng-bar__dots i.is-now { background: #fff; }

.ng-bar__msg b {
  font-weight: 500;
  color: #fff;
}

.ng-bar__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ng-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #3a3e44;
  border-radius: 6px;
  background: transparent;
  color: #f3f3f1;
  font: 500 13px/1 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.ng-btn:hover { border-color: #6a6e75; }

.ng-btn--primary {
  border-color: #1473e6;
  background: #1473e6;
  color: #fff;
}

.ng-btn--primary:hover { background: #0d66d0; border-color: #0d66d0; }

.ng-resume {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.ng-resume .ng-btn {
  background: #16181b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .ng-ring { animation: none; }
}
