/**
 * Custom Shepherd.js Tour Styles
 */

/* Custom theme colors */
.shepherd-theme-custom {
  z-index: 9999 !important;
}

.shepherd-element {
  background: var(--cf-surface, #fff);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--cf-border, #e5e7eb);
  max-width: 420px;
}

.shepherd-header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--cf-border, #e5e7eb);
}

.shepherd-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-text, #1f2937);
  margin: 0;
}

.shepherd-text {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cf-text-muted, #6b7280);
}

.shepherd-footer {
  padding: 12px 20px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.shepherd-button {
  background: var(--cf-orange, #f68231);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.shepherd-button:hover {
  background: var(--cf-orange-dark, #e5721c);
  transform: translateY(-1px);
}

.shepherd-button-secondary {
  background: transparent;
  color: var(--cf-text-muted, #6b7280);
  border: 1px solid var(--cf-border, #e5e7eb);
}

.shepherd-button-secondary:hover {
  background: var(--cf-bg, #f9fafb);
  color: var(--cf-text, #1f2937);
}

.shepherd-cancel-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.shepherd-cancel-icon:hover {
  background: var(--cf-bg, #f9fafb);
}

.shepherd-cancel-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--cf-text-muted, #6b7280);
  stroke-width: 2.5;
}

/* Modal overlay */
.shepherd-modal-overlay-container {
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998 !important;
}

/* Arrow styling */
.shepherd-arrow {
  display: none; /* Hide arrow for cleaner look, or customize below */
}

/* Progress indicator */
.shepherd-progress {
  background: var(--cf-bg, #f3f4f6);
  height: 4px;
  border-radius: 2px;
  margin: 0 20px 12px;
}

.shepherd-progress-bar {
  background: var(--cf-orange, #f68231);
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Animated entrance */
@keyframes shepherdFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.shepherd-element {
  animation: shepherdFadeIn 0.3s ease;
}

/* Highlight target element */
.shepherd-target-highlight {
  box-shadow: 0 0 0 4px var(--cf-orange-subtle, rgba(246, 130, 49, 0.2));
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .shepherd-element {
    max-width: calc(100vw - 32px);
    margin: 0 16px;
  }
  
  .shepherd-title {
    font-size: 16px;
  }
  
  .shepherd-text {
    font-size: 13px;
  }
}
