/* Technical SEO - Professional ProRank Design */
.prorank-technical-seo-page {
  /* ProRank Brand Colors */
  --pr-purple: #3b82f6;
  --pr-purple-light: #60a5fa;
  --pr-purple-dark: #1d4ed8;
  --pr-pink: #ff6b35;
  --pr-orange: #f97316;
  --pr-gradient-subtle: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --pr-gradient-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  
  max-width: 1600px;
  margin: 0 auto;
}

/* Apply prorank-admin-page class for unified dark theme */
.prorank-technical-seo-page.prorank-admin-page {
  background: transparent;
}


/* Premium Header with Dynamic Gradient */
.prorank-technical-seo-header {
  position: relative;
  padding: 48px 40px 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  margin: 0 0 40px 0;
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.35);
}

.prorank-technical-seo-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  right: -20%;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #3b82f6 15%,
    #ff6b35 35%,
    #f97316 50%, 
    #ff6b35 65%,
    #3b82f6 85%,
    transparent 100%
  );
  animation: shimmer 8s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; transform: translateX(-100px); }
  50% { opacity: 1; transform: translateX(100px); }
}

.prorank-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 0 20px;
}

.prorank-header-left h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #ffffff;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.prorank-header-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Futuristic Stats Cards */
.prorank-header-stats {
  display: flex;
  gap: 16px;
}

.prorank-stat-card {
  position: relative;
  text-align: center;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prorank-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(115, 102, 240, 0.5) 0%, 
    rgba(236, 72, 153, 0.5) 33%, 
    rgba(249, 115, 22, 0.5) 66%,
    rgba(115, 102, 240, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-rotate 4s linear infinite;
}

@keyframes border-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.prorank-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.25);
}

.prorank-stat-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.prorank-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-top: 8px;
}

/* Content Container */
.prorank-technical-seo-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 40px;
  position: relative;
}

/* Tab styles: Uses shared _tabs.css */

/* Hide module control bar to prevent duplicate toggle */
.prorank-module-control {
  display: none !important;
}

/* Settings Content */
.prorank-settings-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Settings Wrapper */
.prorank-settings-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Professional Cards */
.prorank-settings-panel .components-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: visible;
  padding: 24px;
  background: #ffffff;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.prorank-settings-panel .components-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.prorank-settings-panel .components-card__header {
  background: transparent;
  padding: 0 0 16px 0;
  border-bottom: none;
  font-weight: 600;
  font-size: 18px;
}

.prorank-settings-panel .components-card__body {
  padding: 0;
}

/* Professional Form Elements */
.prorank-technical-seo-page .components-text-control__input,
.prorank-technical-seo-page .components-textarea-control__input,
.prorank-technical-seo-page .components-select-control__input {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #ffffff;
  box-shadow: none;
}

.prorank-technical-seo-page .components-text-control__input:hover,
.prorank-technical-seo-page .components-textarea-control__input:hover,
.prorank-technical-seo-page .components-select-control__input:hover {
  border-color: #9ca3af;
}

.prorank-technical-seo-page .components-text-control__input:focus,
.prorank-technical-seo-page .components-textarea-control__input:focus,
.prorank-technical-seo-page .components-select-control__input:focus {
  border-color: var(--pr-purple);
  outline: none;
  box-shadow: 0 0 0 2px rgba(115, 102, 240, 0.1);
}

/* Modern Button */
.prorank-settings-actions {
  padding-top: 32px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.prorank-settings-actions .components-button.is-primary {
  background: var(--pr-purple);
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.prorank-settings-actions .components-button.is-primary:hover {
  background: var(--pr-purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Professional Pro Callout */
.prorank-pro-callout {
  position: relative;
  background: linear-gradient(135deg, #f8f7ff 0%, #fdf4ff 100%);
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid rgba(115, 102, 240, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.prorank-pro-callout::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(115, 102, 240, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.prorank-pro-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pr-purple);
}

.prorank-pro-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.prorank-pro-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--pr-purple);
}

.prorank-pro-content p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.prorank-pro-button {
  display: inline-block;
  background: var(--pr-purple);
  color: white;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border: none;
}

.prorank-pro-button:hover {
  background: var(--pr-purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  color: white;
  text-decoration: none;
}

/* Module Locked State */
.prorank-module-locked {
  text-align: center;
  padding: 48px 32px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.prorank-locked-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1f2937;
}

.prorank-locked-content p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 20px 0;
}

/* Module Disabled State */
.prorank-module-disabled {
  text-align: center;
  padding: 48px 32px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.prorank-disabled-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1f2937;
}

.prorank-disabled-content p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 20px 0;
}

/* Loading State */
.prorank-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.prorank-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--pr-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Clean Professional Styles */
.prorank-settings-panel .components-card .components-card__header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

/* Clean Professional Typography */
.prorank-header-left h1 {
  position: relative;
  display: inline-block;
}

/* Tab text visibility: Uses shared _tabs.css */

/* Dark Theme Support */
body.admin-color-midnight .prorank-technical-seo-page,
body.admin-color-ocean .prorank-technical-seo-page,
body.admin-color-ectoplasm .prorank-technical-seo-page,
body.admin-color-coffee .prorank-technical-seo-page,
body.admin-color-blue .prorank-technical-seo-page,
body.admin-color-modern .prorank-technical-seo-page {
  background: #1e1e1e;
}

/* Content Container Dark Mode */
body.admin-color-midnight .prorank-technical-seo-content,
body.admin-color-ocean .prorank-technical-seo-content,
body.admin-color-ectoplasm .prorank-technical-seo-content,
body.admin-color-coffee .prorank-technical-seo-content,
body.admin-color-blue .prorank-technical-seo-content,
body.admin-color-modern .prorank-technical-seo-content {
  background: transparent;
}

/* Settings Content Dark Mode */
body.admin-color-midnight .prorank-settings-content,
body.admin-color-ocean .prorank-settings-content,
body.admin-color-ectoplasm .prorank-settings-content,
body.admin-color-coffee .prorank-settings-content,
body.admin-color-blue .prorank-settings-content,
body.admin-color-modern .prorank-settings-content {
  background: transparent;
}

/* Settings Wrapper Dark Mode */
body.admin-color-midnight .prorank-settings-wrapper,
body.admin-color-ocean .prorank-settings-wrapper,
body.admin-color-ectoplasm .prorank-settings-wrapper,
body.admin-color-coffee .prorank-settings-wrapper,
body.admin-color-blue .prorank-settings-wrapper,
body.admin-color-modern .prorank-settings-wrapper {
  background: transparent;
}

/* Tab Content Dark Mode */
body.admin-color-midnight .prorank-tab-content,
body.admin-color-ocean .prorank-tab-content,
body.admin-color-ectoplasm .prorank-tab-content,
body.admin-color-coffee .prorank-tab-content,
body.admin-color-blue .prorank-tab-content,
body.admin-color-modern .prorank-tab-content {
  background: transparent;
}

/* Settings Panel Dark Mode */
body.admin-color-midnight .prorank-settings-panel,
body.admin-color-ocean .prorank-settings-panel,
body.admin-color-ectoplasm .prorank-settings-panel,
body.admin-color-coffee .prorank-settings-panel,
body.admin-color-blue .prorank-settings-panel,
body.admin-color-modern .prorank-settings-panel {
  background: transparent;
}

/* Tab dark mode: Uses shared _tabs.css */

/* Cards Dark Mode */
body.admin-color-midnight .prorank-settings-panel .components-card,
body.admin-color-ocean .prorank-settings-panel .components-card,
body.admin-color-ectoplasm .prorank-settings-panel .components-card,
body.admin-color-coffee .prorank-settings-panel .components-card,
body.admin-color-blue .prorank-settings-panel .components-card,
body.admin-color-modern .prorank-settings-panel .components-card {
  background: #2c2c2c;
  border-color: #3c3c3c;
}

body.admin-color-midnight .prorank-settings-panel .components-card__header,
body.admin-color-ocean .prorank-settings-panel .components-card__header,
body.admin-color-ectoplasm .prorank-settings-panel .components-card__header,
body.admin-color-coffee .prorank-settings-panel .components-card__header,
body.admin-color-blue .prorank-settings-panel .components-card__header,
body.admin-color-modern .prorank-settings-panel .components-card__header {
  border-bottom-color: #3c3c3c;
}

/* Form Controls Dark Mode */
body.admin-color-midnight .prorank-technical-seo-page .components-text-control__input,
body.admin-color-midnight .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-midnight .prorank-technical-seo-page .components-select-control__input,
body.admin-color-ocean .prorank-technical-seo-page .components-text-control__input,
body.admin-color-ocean .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-ocean .prorank-technical-seo-page .components-select-control__input,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-text-control__input,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-select-control__input,
body.admin-color-coffee .prorank-technical-seo-page .components-text-control__input,
body.admin-color-coffee .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-coffee .prorank-technical-seo-page .components-select-control__input,
body.admin-color-blue .prorank-technical-seo-page .components-text-control__input,
body.admin-color-blue .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-blue .prorank-technical-seo-page .components-select-control__input,
body.admin-color-modern .prorank-technical-seo-page .components-text-control__input,
body.admin-color-modern .prorank-technical-seo-page .components-textarea-control__input,
body.admin-color-modern .prorank-technical-seo-page .components-select-control__input {
  background: #1e1e1e;
  border-color: #3c3c3c;
  color: #e2e4e7;
}

body.admin-color-midnight .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-midnight .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-midnight .prorank-technical-seo-page .components-select-control__input:hover,
body.admin-color-ocean .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-ocean .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-ocean .prorank-technical-seo-page .components-select-control__input:hover,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-select-control__input:hover,
body.admin-color-coffee .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-coffee .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-coffee .prorank-technical-seo-page .components-select-control__input:hover,
body.admin-color-blue .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-blue .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-blue .prorank-technical-seo-page .components-select-control__input:hover,
body.admin-color-modern .prorank-technical-seo-page .components-text-control__input:hover,
body.admin-color-modern .prorank-technical-seo-page .components-textarea-control__input:hover,
body.admin-color-modern .prorank-technical-seo-page .components-select-control__input:hover {
  border-color: #4c4c4c;
}

/* Pro Callout Dark Mode */
body.admin-color-midnight .prorank-pro-callout,
body.admin-color-ocean .prorank-pro-callout,
body.admin-color-ectoplasm .prorank-pro-callout,
body.admin-color-coffee .prorank-pro-callout,
body.admin-color-blue .prorank-pro-callout,
body.admin-color-modern .prorank-pro-callout {
  background: linear-gradient(135deg, #2c2c2c 0%, #363636 100%);
  border-color: #4c4c4c;
}

body.admin-color-midnight .prorank-pro-content p,
body.admin-color-ocean .prorank-pro-content p,
body.admin-color-ectoplasm .prorank-pro-content p,
body.admin-color-coffee .prorank-pro-content p,
body.admin-color-blue .prorank-pro-content p,
body.admin-color-modern .prorank-pro-content p {
  color: #b4b9be;
}

/* Module Locked Dark Mode */
body.admin-color-midnight .prorank-module-locked,
body.admin-color-ocean .prorank-module-locked,
body.admin-color-ectoplasm .prorank-module-locked,
body.admin-color-coffee .prorank-module-locked,
body.admin-color-blue .prorank-module-locked,
body.admin-color-modern .prorank-module-locked {
  background: #2c2c2c;
  border-color: #3c3c3c;
}

body.admin-color-midnight .prorank-locked-content h3,
body.admin-color-ocean .prorank-locked-content h3,
body.admin-color-ectoplasm .prorank-locked-content h3,
body.admin-color-coffee .prorank-locked-content h3,
body.admin-color-blue .prorank-locked-content h3,
body.admin-color-modern .prorank-locked-content h3 {
  color: #e2e4e7;
}

body.admin-color-midnight .prorank-locked-content p,
body.admin-color-ocean .prorank-locked-content p,
body.admin-color-ectoplasm .prorank-locked-content p,
body.admin-color-coffee .prorank-locked-content p,
body.admin-color-blue .prorank-locked-content p,
body.admin-color-modern .prorank-locked-content p {
  color: #b4b9be;
}

/* Module Disabled Dark Mode */
body.admin-color-midnight .prorank-module-disabled,
body.admin-color-ocean .prorank-module-disabled,
body.admin-color-ectoplasm .prorank-module-disabled,
body.admin-color-coffee .prorank-module-disabled,
body.admin-color-blue .prorank-module-disabled,
body.admin-color-modern .prorank-module-disabled {
  background: #2c2c2c;
  border-color: #3c3c3c;
}

body.admin-color-midnight .prorank-disabled-content h3,
body.admin-color-ocean .prorank-disabled-content h3,
body.admin-color-ectoplasm .prorank-disabled-content h3,
body.admin-color-coffee .prorank-disabled-content h3,
body.admin-color-blue .prorank-disabled-content h3,
body.admin-color-modern .prorank-disabled-content h3 {
  color: #e2e4e7;
}

body.admin-color-midnight .prorank-disabled-content p,
body.admin-color-ocean .prorank-disabled-content p,
body.admin-color-ectoplasm .prorank-disabled-content p,
body.admin-color-coffee .prorank-disabled-content p,
body.admin-color-blue .prorank-disabled-content p,
body.admin-color-modern .prorank-disabled-content p {
  color: #b4b9be;
}

/* Toggle and Tab dark mode: Uses shared CSS */

/* Additional Dark Mode Fixes for WordPress Components */
body.admin-color-midnight .components-base-control__label,
body.admin-color-ocean .components-base-control__label,
body.admin-color-ectoplasm .components-base-control__label,
body.admin-color-coffee .components-base-control__label,
body.admin-color-blue .components-base-control__label,
body.admin-color-modern .components-base-control__label {
  color: #b4b9be;
}

body.admin-color-midnight .components-base-control__help,
body.admin-color-ocean .components-base-control__help,
body.admin-color-ectoplasm .components-base-control__help,
body.admin-color-coffee .components-base-control__help,
body.admin-color-blue .components-base-control__help,
body.admin-color-modern .components-base-control__help {
  color: #9ca3af;
}

/* Fix any remaining white backgrounds */
body.admin-color-midnight .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-midnight .prorank-technical-seo-page *[style*="background: white"],
body.admin-color-ocean .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-ocean .prorank-technical-seo-page *[style*="background: white"],
body.admin-color-ectoplasm .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-ectoplasm .prorank-technical-seo-page *[style*="background: white"],
body.admin-color-coffee .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-coffee .prorank-technical-seo-page *[style*="background: white"],
body.admin-color-blue .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-blue .prorank-technical-seo-page *[style*="background: white"],
body.admin-color-modern .prorank-technical-seo-page *[style*="background-color: white"],
body.admin-color-modern .prorank-technical-seo-page *[style*="background: white"] {
  background: #2c2c2c !important;
}

/* Stat Cards Dark Mode */
body.admin-color-midnight .prorank-stat-card,
body.admin-color-ocean .prorank-stat-card,
body.admin-color-ectoplasm .prorank-stat-card,
body.admin-color-coffee .prorank-stat-card,
body.admin-color-blue .prorank-stat-card,
body.admin-color-modern .prorank-stat-card {
  background: rgba(44, 44, 44, 0.9) !important;
  border-color: rgba(60, 60, 60, 0.5) !important;
}

body.admin-color-midnight .prorank-stat-value,
body.admin-color-ocean .prorank-stat-value,
body.admin-color-ectoplasm .prorank-stat-value,
body.admin-color-coffee .prorank-stat-value,
body.admin-color-blue .prorank-stat-value,
body.admin-color-modern .prorank-stat-value {
  color: #e2e4e7 !important;
}

body.admin-color-midnight .prorank-stat-label,
body.admin-color-ocean .prorank-stat-label,
body.admin-color-ectoplasm .prorank-stat-label,
body.admin-color-coffee .prorank-stat-label,
body.admin-color-blue .prorank-stat-label,
body.admin-color-modern .prorank-stat-label {
  color: #b4b9be !important;
}

/* Target ProRank admin page specifically */
body.admin-color-midnight.prorank-seo_page_prorank-technical-seo #wpbody,
body.admin-color-ocean.prorank-seo_page_prorank-technical-seo #wpbody,
body.admin-color-ectoplasm.prorank-seo_page_prorank-technical-seo #wpbody,
body.admin-color-coffee.prorank-seo_page_prorank-technical-seo #wpbody,
body.admin-color-blue.prorank-seo_page_prorank-technical-seo #wpbody,
body.admin-color-modern.prorank-seo_page_prorank-technical-seo #wpbody {
  background-color: #1e1e1e !important;
}

body.admin-color-midnight.prorank-seo_page_prorank-technical-seo #wpcontent,
body.admin-color-ocean.prorank-seo_page_prorank-technical-seo #wpcontent,
body.admin-color-ectoplasm.prorank-seo_page_prorank-technical-seo #wpcontent,
body.admin-color-coffee.prorank-seo_page_prorank-technical-seo #wpcontent,
body.admin-color-blue.prorank-seo_page_prorank-technical-seo #wpcontent,
body.admin-color-modern.prorank-seo_page_prorank-technical-seo #wpcontent {
  background: #1e1e1e !important;
}

/* Make sure all text is visible */
body.admin-color-midnight .prorank-technical-seo-page,
body.admin-color-ocean .prorank-technical-seo-page,
body.admin-color-ectoplasm .prorank-technical-seo-page,
body.admin-color-coffee .prorank-technical-seo-page,
body.admin-color-blue .prorank-technical-seo-page,
body.admin-color-modern .prorank-technical-seo-page {
  color: #e2e4e7;
}

/* Fix inline paragraph text color in dark mode */
body.admin-color-midnight .prorank-tab-content p,
body.admin-color-ocean .prorank-tab-content p,
body.admin-color-ectoplasm .prorank-tab-content p,
body.admin-color-coffee .prorank-tab-content p,
body.admin-color-blue .prorank-tab-content p,
body.admin-color-modern .prorank-tab-content p {
  color: #b4b9be !important;
}

/* Fix any WordPress component backgrounds */
body.admin-color-midnight .prorank-technical-seo-page .components-card,
body.admin-color-ocean .prorank-technical-seo-page .components-card,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-card,
body.admin-color-coffee .prorank-technical-seo-page .components-card,
body.admin-color-blue .prorank-technical-seo-page .components-card,
body.admin-color-modern .prorank-technical-seo-page .components-card {
  background: #2c2c2c !important;
  border-color: #3c3c3c !important;
  color: #e2e4e7;
}

body.admin-color-midnight .prorank-technical-seo-page .components-panel__body,
body.admin-color-ocean .prorank-technical-seo-page .components-panel__body,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-panel__body,
body.admin-color-coffee .prorank-technical-seo-page .components-panel__body,
body.admin-color-blue .prorank-technical-seo-page .components-panel__body,
body.admin-color-modern .prorank-technical-seo-page .components-panel__body {
  background: #2c2c2c !important;
  border-color: #3c3c3c !important;
}

body.admin-color-midnight .prorank-technical-seo-page .components-panel,
body.admin-color-ocean .prorank-technical-seo-page .components-panel,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-panel,
body.admin-color-coffee .prorank-technical-seo-page .components-panel,
body.admin-color-blue .prorank-technical-seo-page .components-panel,
body.admin-color-modern .prorank-technical-seo-page .components-panel {
  background: #2c2c2c !important;
  border-color: #3c3c3c !important;
}

/* Fix settings card background */
body.admin-color-midnight .prorank-settings-card,
body.admin-color-ocean .prorank-settings-card,
body.admin-color-ectoplasm .prorank-settings-card,
body.admin-color-coffee .prorank-settings-card,
body.admin-color-blue .prorank-settings-card,
body.admin-color-modern .prorank-settings-card {
  background: #2c2c2c !important;
  color: #e2e4e7 !important;
}

/* Fix WordPress Notices in dark mode */
body.admin-color-midnight .prorank-technical-seo-page .components-notice,
body.admin-color-ocean .prorank-technical-seo-page .components-notice,
body.admin-color-ectoplasm .prorank-technical-seo-page .components-notice,
body.admin-color-coffee .prorank-technical-seo-page .components-notice,
body.admin-color-blue .prorank-technical-seo-page .components-notice,
body.admin-color-modern .prorank-technical-seo-page .components-notice {
  background: #3c3c3c !important;
  border-color: #4c4c4c !important;
  color: #e2e4e7 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .prorank-header-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .prorank-header-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .prorank-module-control {
    flex-wrap: wrap;
  }
  
  .prorank-module-left {
    width: 100%;
    margin-bottom: 12px;
  }
}
