/**
 * Quick Setup Wizard Styles
 */

.prorank-quick-setup-wizard {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.prorank-wizard-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 32px;
}

.prorank-wizard-header {
  text-align: center;
  margin-bottom: 32px;
}

.prorank-wizard-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 8px 0;
}

.prorank-wizard-subtitle {
  color: #646970;
  font-size: 14px;
  margin: 0;
}

/* Progress Bar */
.prorank-wizard-progress {
  margin-bottom: 48px;
}

.prorank-wizard-progress-bar {
  height: 4px;
  background: #f0f0f1;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 32px;
}

.prorank-wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3858e9 0%, #5172ff 100%);
  transition: width 0.3s ease;
}

/* Steps */
.prorank-wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.prorank-wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.prorank-wizard-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.prorank-wizard-step:hover {
  opacity: 0.8;
}

.prorank-wizard-step-indicator {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #646970;
  transition: all 0.3s ease;
}

.prorank-wizard-step.is-active .prorank-wizard-step-indicator {
  background: #3858e9;
  border-color: #3858e9;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(56, 88, 233, 0.1);
}

.prorank-wizard-step.is-completed .prorank-wizard-step-indicator {
  background: #00a32a;
  border-color: #00a32a;
  color: #fff;
}

.prorank-wizard-step.is-past .prorank-wizard-step-indicator {
  background: #f0f0f1;
  border-color: #f0f0f1;
  color: #646970;
}

.prorank-wizard-step-title {
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1e;
}

.prorank-wizard-step-description {
  font-size: 12px;
  color: #646970;
  margin-top: 4px;
}

/* Content Area */
.prorank-wizard-content {
  min-height: 400px;
  margin-bottom: 32px;
}

.prorank-wizard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 16px;
}

/* Navigation */
.prorank-wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.prorank-wizard-nav-left,
.prorank-wizard-nav-right {
  flex: 1;
}

.prorank-wizard-nav-center {
  flex: 2;
  text-align: center;
}

.prorank-wizard-nav-right {
  text-align: right;
}

/* Step Specific Styles */
.prorank-wizard-step-header {
  margin-bottom: 32px;
}

.prorank-wizard-step-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 12px 0;
}

/* Welcome Step */
.prorank-wizard-welcome-header {
  text-align: center;
  margin-bottom: 32px;
}

.prorank-wizard-welcome-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 16px 0;
}

.prorank-system-check {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.prorank-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.prorank-check-item .success {
  color: #00a32a;
}

.prorank-competitor-list {
  margin: 16px 0;
}

.prorank-competitor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 8px;
}

.prorank-competitor-item .warning {
  color: #dba617;
}

.prorank-deactivated-badge {
  margin-left: auto;
  padding: 2px 8px;
  background: #00a32a;
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.prorank-setup-preview ul {
  margin: 16px 0;
  padding-left: 20px;
}

.prorank-setup-preview li {
  margin-bottom: 8px;
  color: #1e1e1e;
}

/* Import Step */
.prorank-import-option {
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: background 0.2s ease;
}

.prorank-import-option:hover {
  background: #f0f0f1;
}

.prorank-import-details ul {
  margin: 16px 0;
  padding-left: 20px;
  color: #646970;
}

.prorank-import-results {
  margin-top: 12px;
}

.prorank-import-results ul {
  margin: 8px 0 8px 20px;
  font-size: 13px;
}

.prorank-wizard-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 782px) {
  .prorank-wizard-container {
    padding: 20px;
  }

  .prorank-wizard-steps {
    flex-direction: column;
    gap: 16px;
  }

  .prorank-wizard-steps::before {
    display: none;
  }

  .prorank-wizard-step-description {
    display: none;
  }

  .prorank-wizard-navigation {
    flex-direction: column;
    gap: 16px;
  }

  .prorank-wizard-nav-left,
  .prorank-wizard-nav-center,
  .prorank-wizard-nav-right {
    width: 100%;
    text-align: center;
  }
}