/* ==============================================================================
   AYKAR Business Management - Interactive Onboarding Tour Styles
   Zero-dependency, accessible, responsive spotlight & guided tour engine
   ============================================================================== */

.aykar-tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(2.5px);
  z-index: 99990;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
}

.aykar-tour-highlight {
  position: relative;
  z-index: 99995 !important;
  box-shadow: 0 0 0 4px #1769ff, 0 0 0 9999px rgba(15, 23, 42, 0.72) !important;
  border-radius: 8px !important;
  transition: box-shadow 0.28s ease, transform 0.2s ease !important;
  pointer-events: none !important;
}

.aykar-tour-popover {
  position: fixed;
  z-index: 99999;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  color: #17233d;
  border-radius: 14px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9);
  padding: 20px 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: aykarTourPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes aykarTourPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.aykar-tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.aykar-tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: #eef4ff;
  color: #1769ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aykar-tour-close {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aykar-tour-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.aykar-tour-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.aykar-tour-body {
  margin: 0 0 16px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.aykar-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
  gap: 10px;
}

.aykar-tour-dismiss-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.aykar-tour-dismiss-label input[type="checkbox"] {
  cursor: pointer;
  accent-color: #1769ff;
  width: 14px;
  height: 14px;
}

.aykar-tour-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.aykar-tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  border: 0;
  transition: all 0.15s ease;
  font-family: inherit;
}

.aykar-tour-btn.prev {
  background: #f1f5f9;
  color: #475569;
}

.aykar-tour-btn.prev:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.aykar-tour-btn.next {
  background: #1769ff;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(23, 105, 255, 0.28);
}

.aykar-tour-btn.next:hover {
  background: #1255d4;
}

.aykar-tour-progress {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
