/* Tour Guide Global Styles */

.tour-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-backdrop.active {
  display: block;
  opacity: 1;
}

.tour-highlight {
  position: relative !important;
  z-index: 9999 !important;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #c43139 !important;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}

.tour-modal {
  position: fixed;
  z-index: 10000;
  background: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 400px;
  min-width: 300px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: none;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.tour-modal.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.tour-modal-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #c43139;
}

.tour-modal-content {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.tour-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tour-step-indicator {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.tour-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tour-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tour-btn-prev {
  background: #e0e0e0;
  color: #333;
}

.tour-btn-prev:hover {
  background: #d0d0d0;
  transform: translateY(-1px);
}

.tour-btn-next {
  background: #c43139;
  color: white;
}

.tour-btn-next:hover {
  background: #a82a30;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(196, 49, 57, 0.3);
}

.tour-btn-skip {
  background: transparent;
  color: #999;
  border: 1px solid #e0e0e0;
}

.tour-btn-skip:hover {
  background: #f5f5f5;
  color: #666;
  border-color: #d0d0d0;
}

.tour-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .tour-modal {
    max-width: 90%;
    left: 5% !important;
    right: 5% !important;
  }

  .tour-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tour-step-indicator {
    text-align: center;
    margin-bottom: 10px;
  }

  .tour-buttons {
    justify-content: center;
  }
}
