
/* Onboarding Overlay Styles */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.onboarding-overlay.show {
  opacity: 1;
}

.onboarding-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.onboarding-overlay.show .onboarding-modal {
  transform: scale(1);
}

.onboarding-header {
  text-align: center;
  margin-bottom: 2rem;
}

.onboarding-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.onboarding-header p {
  color: #6b7280;
}

.onboarding-steps {
  margin-bottom: 2rem;
}

.onboarding-step {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
}

.onboarding-step.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.onboarding-step.completed {
  border-color: #10b981;
  background: #ecfdf5;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.onboarding-step.active .step-number {
  background: #3b82f6;
  color: white;
}

.onboarding-step.completed .step-number {
  background: #10b981;
  color: white;
}

.step-content h3 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

.onboarding-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.onboarding-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.onboarding-btn-skip {
  background: #f3f4f6;
  color: #6b7280;
}

.onboarding-btn-skip:hover {
  background: #e5e7eb;
}

.onboarding-btn-next {
  background: #3b82f6;
  color: white;
}

.onboarding-btn-next:hover {
  background: #2563eb;
}

.onboarding-btn-complete {
  background: #10b981;
  color: white;
}

.onboarding-btn-complete:hover {
  background: #059669;
}

/* Tooltip Styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #1f2937;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.875rem;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1f2937 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .onboarding-modal {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .onboarding-actions {
    flex-direction: column;
  }
  
  .tooltip-text {
    width: 150px;
    margin-left: -75px;
    font-size: 0.8rem;
  }
}
