/**
 * Technical SEO Feature Styles
 *
 * Specific styles for the Technical SEO page that extend the core design system
 * Ensures visual consistency with other admin pages
 *
 * @since 3.0.0
 */

/* ============================================
   TECHNICAL SEO PAGE SPECIFIC
   ============================================ */

.prorank-technical-seo-page {
  /* Inherits from .prorank-page */
}

.prorank-technical-seo-content {
  /* Additional spacing for technical sections */
  padding-top: var(--prorank-space-lg);
}

/* ============================================
   MODULE STATES
   ============================================ */

/* Locked module state */
.prorank-module-locked {
  padding: var(--prorank-space-2xl);
  text-align: center;
  background: var(--prorank-bg-secondary);
  border-radius: var(--prorank-radius);
  border: 1px solid var(--prorank-border);
}

.prorank-locked-content {
  max-width: 400px;
  margin: 0 auto;
}

.prorank-locked-content .dashicons {
  color: var(--prorank-text-tertiary);
  margin-bottom: var(--prorank-space-md);
}

/* Disabled module state */
.prorank-module-disabled {
  padding: var(--prorank-space-2xl);
  text-align: center;
  background: var(--prorank-bg-secondary);
  border-radius: var(--prorank-radius);
  border: 1px solid var(--prorank-border);
}

.prorank-disabled-content {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.prorank-disabled-content .dashicons {
  color: var(--prorank-text-tertiary);
  margin-bottom: 0 !important;
  line-height: 1;
  display: block;
}

.prorank-disabled-content h3 {
  margin: 0;
  line-height: 1.14;
}

.prorank-disabled-content p {
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   ICON UTILITIES
   ============================================ */

/* Extra large icons for empty states */
.prorank-icon-xl {
  font-size: 48px !important;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin-bottom: var(--prorank-space-md);
}

/* Disabled icon state */
.prorank-icon-disabled {
  opacity: 0.5;
}

/* ============================================
   EMPTY STATE CARD
   ============================================ */

.prorank-empty-state {
  text-align: center;
  padding: var(--prorank-space-3xl, 60px) !important;
  background: var(--prorank-bg-secondary);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prorank-empty-state h3 {
  color: var(--prorank-text);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 var(--prorank-space-sm) 0;
}

.prorank-empty-state p {
  color: var(--prorank-text-secondary);
  font-size: 14px;
  margin: 0;
  max-width: 400px;
}

/* ============================================
   SETTINGS WRAPPER
   ============================================ */

.prorank-settings-wrapper {
  animation: fadeIn 0.3s ease;
}

/* ============================================
   PRO CALLOUT - Unified Design
   ============================================ */

.prorank-technical-seo-page .prorank-pro-callout {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border: 1px solid #fbbf24 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-top: 32px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15) !important;
}

.prorank-technical-seo-page .prorank-pro-callout::before {
  content: '' !important;
  position: relative !important;
  display: block !important;
  margin-bottom: -3px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b) !important;
  animation: shimmer 3s infinite !important;
}

.prorank-technical-seo-page .prorank-pro-content {
  position: relative !important;
  z-index: 1 !important;
}

.prorank-technical-seo-page .prorank-pro-content h4 {
  color: #92400e !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 8px 0 !important;
}

.prorank-technical-seo-page .prorank-pro-content p {
  color: #78350f !important;
  font-size: 14px !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.6 !important;
}

.prorank-technical-seo-page .prorank-pro-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ff6900 !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.prorank-technical-seo-page .prorank-pro-button:hover {
  background: #e55a00 !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3) !important;
  text-decoration: none !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .prorank-module-locked,
  .prorank-module-disabled {
    padding: var(--prorank-space-lg);
  }

  .prorank-empty-state {
    padding: var(--prorank-space-xl) !important;
  }

  .prorank-pro-callout {
    margin-top: var(--prorank-space-lg);
    padding: var(--prorank-space-md);
  }
}

@media (max-width: 480px) {
  .prorank-icon-xl {
    font-size: 36px !important;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .prorank-empty-state {
    padding: var(--prorank-space-lg) !important;
    min-height: 150px;
  }
}
