/**
 * Internal Linking Page Styles
 *
 * Styles for the Internal Linking dashboard, reports, auto-linking, and link map.
 */

/* ========================================
   Dashboard Styles
   ======================================== */
.prorank-linking-dashboard {
  animation: fadeIn 0.3s ease;
}

/* ========================================
   Links Report Styles
   ======================================== */
.prorank-links-report {
  animation: fadeIn 0.3s ease;
}

.prorank-il-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 26, 0.28), rgba(0, 0, 0, 0) 24%),
    radial-gradient(circle at 0% 100%, rgba(255, 184, 77, 0.16), rgba(0, 0, 0, 0) 18%),
    linear-gradient(135deg, #0b1220 0%, #11233d 52%, #20345a 100%);
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prorank-il-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff6900 0%, #ff9f43 24%, #ffd166 52%, #ff9f43 78%, #ff6900 100%);
}

.prorank-il-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffedd5;
}

.prorank-il-hero__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
  text-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

.prorank-il-hero__meta {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

.prorank-il-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.prorank-il-hero-button {
  min-height: 42px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}

.prorank-il-hero-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.prorank-il-hero-button.is-primary {
  border-color: rgba(255, 185, 122, 0.48) !important;
  background: linear-gradient(135deg, #ff6900 0%, #ff8c42 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 30px -24px rgba(255, 105, 0, 0.62) !important;
}

.prorank-il-hero-button.is-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff7a1a 0%, #ffa24d 100%) !important;
  border-color: rgba(255, 214, 102, 0.52) !important;
}

.prorank-il-panel {
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

.prorank-il-panel > div {
  padding: 24px;
}

.prorank-il-progress-card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 26, 0.24), rgba(0, 0, 0, 0) 26%),
    linear-gradient(135deg, #14233d 0%, #1d355b 100%);
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prorank-il-progress-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff6900 0%, #ffd166 52%, #ff6900 100%);
}

.prorank-il-progress-card > div {
  padding: 24px;
}

.prorank-il-progress-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #f8fafc;
}

.prorank-il-progress-copy,
.prorank-il-progress-note,
.prorank-il-progress-meta {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
}

.prorank-il-progress-note {
  font-size: 12px;
  opacity: 0.82;
}

.prorank-il-progress-track {
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.prorank-il-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6900 0%, #ffd166 100%);
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.25);
  transition: width 0.3s ease;
}

.prorank-il-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.prorank-il-kpi-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.prorank-il-kpi-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  position: relative;
}

.prorank-il-kpi-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #94a3b8;
}

.prorank-il-kpi-card[data-tone="posts"]::before,
.prorank-il-kpi-card[data-tone="total"]::before {
  background: linear-gradient(90deg, #ff6900 0%, #ff9f43 100%);
}

.prorank-il-kpi-card[data-tone="internal"]::before {
  background: linear-gradient(90deg, #15803d 0%, #4ade80 100%);
}

.prorank-il-kpi-card[data-tone="external"]::before {
  background: linear-gradient(90deg, #0f766e 0%, #2dd4bf 100%);
}

.prorank-il-kpi-card[data-tone="orphan"]::before,
.prorank-il-kpi-card[data-tone="404"]::before {
  background: linear-gradient(90deg, #dc2626 0%, #fb7185 100%);
}

.prorank-il-kpi-card[data-tone="broken"]::before,
.prorank-il-kpi-card[data-tone="403"]::before,
.prorank-il-kpi-card[data-tone="400"]::before,
.prorank-il-kpi-card[data-tone="500"]::before {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.prorank-il-kpi-card[data-tone="ignored"]::before,
.prorank-il-kpi-card[data-tone="active"]::before {
  background: linear-gradient(90deg, #64748b 0%, #cbd5e1 100%);
}

.prorank-il-kpi-card > div {
  padding: 22px 18px 18px;
  text-align: center;
}

.prorank-il-kpi-value {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.prorank-il-kpi-value--compact {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prorank-il-kpi-label {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.prorank-il-kpi-meta {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.prorank-il-workflow-card > div {
  padding: 24px;
}

.prorank-il-workflow-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.prorank-il-workflow-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.prorank-il-workflow-meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
}

.prorank-il-workflow-progress {
  margin-top: 16px;
}

.prorank-il-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.prorank-il-workflow-step {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.prorank-il-workflow-step::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: #cbd5e1;
}

.prorank-il-workflow-step[data-state="complete"]::before {
  background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}

.prorank-il-workflow-step[data-state="ready"]::before {
  background: linear-gradient(90deg, #ff6900 0%, #ffd166 100%);
}

.prorank-il-workflow-step[data-state="blocked"]::before {
  background: linear-gradient(90deg, #64748b 0%, #cbd5e1 100%);
}

.prorank-il-workflow-step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prorank-il-workflow-step__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.prorank-il-workflow-step__description {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.prorank-il-workflow-step__reason {
  margin-top: 8px;
  font-size: 12px;
  color: #b45309;
}

.prorank-il-workflow-step__status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prorank-il-workflow-step__status[data-state="complete"] {
  background: #dcfce7;
  color: #166534;
}

.prorank-il-workflow-step__status[data-state="ready"] {
  background: #fff7ed;
  color: #c2410c;
}

.prorank-il-workflow-step__status[data-state="blocked"] {
  background: #e2e8f0;
  color: #475569;
}

.prorank-il-step-actions {
  margin-top: 14px;
}

.prorank-il-filters-card > div,
.prorank-il-table-card > div {
  padding: 24px;
}

.prorank-il-table-toolbar {
  margin: -24px -24px 24px;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e5e7eb;
}

.prorank-il-table-toolbar__label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.prorank-il-table-card table thead tr {
  background: #f8fafc !important;
}

.prorank-il-table-card table tbody tr {
  transition: background-color 0.18s ease;
}

.prorank-il-table-card table tbody tr:hover {
  background: #fff7ed !important;
}

.prorank-il-row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.prorank-il-row-flags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.prorank-il-row-flag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prorank-il-row-flag.is-orphan {
  background: #fef2f2;
  color: #dc2626;
}

.prorank-il-row-flag.is-broken {
  background: #fff7ed;
  color: #d97706;
}

/* ========================================
   Auto Linking Styles
   ======================================== */
.prorank-auto-linking {
  animation: fadeIn 0.3s ease;
}

.prorank-auto-linking--loading {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.prorank-auto-linking__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.prorank-auto-linking__main,
.prorank-auto-linking__side {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.prorank-auto-linking .prorank-card-header {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e5e7eb;
}

.prorank-auto-linking__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.prorank-auto-linking__panel-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}

.prorank-auto-linking__panel-copy,
.prorank-auto-linking__side-copy {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.prorank-auto-linking__panel-action {
  flex-shrink: 0;
}

.prorank-auto-linking__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prorank-auto-linking__range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.prorank-auto-linking__toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.prorank-auto-linking__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.prorank-auto-linking__settings-list,
.prorank-auto-linking__job-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.prorank-auto-linking__setting-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}

.prorank-auto-linking__setting-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.prorank-auto-linking__setting-row span {
  color: #475569;
  font-weight: 700;
}

.prorank-auto-linking__setting-row strong {
  color: #0f172a;
  text-align: right;
  font-weight: 800;
}

.prorank-auto-linking__setting-row strong[data-tone="success"] {
  color: #166534;
}

.prorank-auto-linking__setting-row strong[data-tone="warning"] {
  color: #b45309;
}

.prorank-auto-linking__progress-track {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}

.prorank-auto-linking__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6900 0%, #ffb347 100%);
  transition: width 0.2s ease;
}

.prorank-auto-linking__error-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #991b1b;
  font-size: 12px;
}

.prorank-auto-linking__empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 22px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.prorank-auto-linking__rule-list,
.prorank-auto-linking__preview-list {
  display: grid;
  gap: 12px;
}

.prorank-auto-linking__rule-card,
.prorank-auto-linking__preview-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.prorank-auto-linking__rule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prorank-auto-linking__rule-head h4,
.prorank-auto-linking__preview-card h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
}

.prorank-auto-linking__rule-head p,
.prorank-auto-linking__preview-card p {
  margin: 5px 0 0;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.prorank-auto-linking__rule-head span {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prorank-auto-linking__rule-head span[data-state="enabled"] {
  background: #dcfce7;
  color: #166534;
}

.prorank-auto-linking__rule-head span[data-state="disabled"] {
  background: #e2e8f0;
  color: #475569;
}

.prorank-auto-linking__rule-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}

.prorank-auto-linking__preview-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .prorank-il-hero {
    grid-template-columns: 1fr;
  }

  .prorank-il-hero__actions {
    justify-content: flex-start;
  }

  .prorank-auto-linking__layout,
  .prorank-auto-linking__form-grid,
  .prorank-auto-linking__range-grid {
    grid-template-columns: 1fr;
  }

  .prorank-auto-linking__toggle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .prorank-il-hero {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .prorank-il-hero__title {
    font-size: 24px;
  }

  .prorank-il-panel,
  .prorank-il-kpi-card,
  .prorank-il-progress-card {
    border-radius: 14px !important;
  }

  .prorank-il-panel > div,
  .prorank-il-progress-card > div,
  .prorank-il-workflow-card > div,
  .prorank-il-filters-card > div,
  .prorank-il-table-card > div {
    padding: 18px;
  }

  .prorank-il-table-toolbar {
    margin: -18px -18px 18px;
    padding: 14px 18px;
  }

  .prorank-auto-linking__panel-head,
  .prorank-auto-linking__rule-head,
  .prorank-auto-linking__setting-row {
    flex-direction: column;
    align-items: stretch;
  }

  .prorank-auto-linking__panel-action,
  .prorank-auto-linking__setting-row strong {
    text-align: left;
  }

  .prorank-auto-linking__toggle-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Link Map Lite
   ======================================== */
.prorank-visual-link-map-modern {
  animation: fadeIn 0.3s ease;
}

.prorank-il-map-lite__hero {
  margin-bottom: 20px;
}

.prorank-il-map-lite__notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
}

.prorank-il-map-lite__notice.is-error {
  border-color: rgba(248, 113, 113, 0.3);
  background: linear-gradient(180deg, #fff7f7 0%, #fef2f2 100%);
}

.prorank-il-map-lite__notice strong,
.prorank-il-map-lite__notice p {
  display: block;
  margin: 0;
}

.prorank-il-map-lite__notice p {
  margin-top: 4px;
  color: #64748b;
}

.prorank-il-map-lite__notice-icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: #ff6900;
}

.prorank-map-layout.prorank-il-map-lite__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1100px) {
  .prorank-map-layout.prorank-il-map-lite__layout {
    grid-template-columns: 1fr;
  }
}

.prorank-map-sidebar,
.prorank-map-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prorank-il-map-lite__card {
  overflow: hidden;
}

.prorank-il-map-lite__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.prorank-il-map-lite__card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.prorank-il-map-lite__card-head span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.prorank-il-map-lite__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prorank-il-map-lite__callout {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 105, 0, 0.07) 0%, rgba(255, 200, 87, 0.08) 100%);
  border: 1px solid rgba(255, 105, 0, 0.18);
}

.prorank-il-map-lite__callout strong,
.prorank-il-map-lite__callout p {
  display: block;
  margin: 0;
}

.prorank-il-map-lite__callout p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.prorank-legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.prorank-il-map-lite__legend {
  gap: 12px;
}

.prorank-il-map-lite__legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
}

.prorank-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6b7280;
  border: 1px solid #e5e7eb;
}

.prorank-il-map-lite__legend-dot {
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.prorank-il-map-lite__legend-dot.is-page {
  background: #3b82f6;
}

.prorank-il-map-lite__legend-dot.is-post {
  background: #10b981;
}

.prorank-legend-dot.prorank-orphan-dot,
.prorank-il-map-lite__legend-dot.is-orphan {
  background: #ef4444;
  animation: pulse 2s infinite;
}

.prorank-il-map-lite__legend-dot.is-missing {
  background: #ff8c42;
}

.prorank-il-map-lite__node-inspector {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prorank-il-map-lite__node-meta strong,
.prorank-il-map-lite__node-meta a,
.prorank-il-map-lite__node-meta span {
  display: block;
}

.prorank-il-map-lite__node-meta strong {
  color: #0f172a;
  font-size: 16px;
}

.prorank-il-map-lite__node-meta a {
  margin-top: 8px;
  font-size: 12px;
  color: #ff6900;
  word-break: break-all;
}

.prorank-il-map-lite__node-type {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.prorank-il-map-lite__node-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prorank-il-map-lite__node-stats > div {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.prorank-il-map-lite__node-stats span,
.prorank-il-map-lite__node-list span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.prorank-il-map-lite__node-stats strong {
  font-size: 24px;
  line-height: 1;
  color: #0f172a;
}

.prorank-il-map-lite__node-list ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
}

.prorank-il-map-lite__node-list li + li {
  margin-top: 4px;
}

.prorank-il-map-lite__node-list p,
.prorank-il-map-lite__empty-inspector p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.prorank-il-map-lite__empty-inspector {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 108px;
}

.prorank-il-map-lite__empty-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: #94a3b8;
}

.prorank-il-map-lite__stage {
  margin-bottom: 0;
}

.prorank-il-map-lite__stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.prorank-il-map-lite__density {
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prorank-visualization-container.prorank-il-map-lite__canvas {
  min-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 140, 66, 0.11), rgba(0, 0, 0, 0) 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0.28) 100%);
}

.prorank-visualization-container.prorank-il-map-lite__canvas.is-hidden {
  display: none;
}

.prorank-link-map-svg {
  width: 100%;
  height: 560px;
  display: block;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%);
}

.prorank-link-map-svg .node circle {
  cursor: pointer;
  transition: transform 0.2s ease, stroke-width 0.2s ease, opacity 0.2s ease;
}

.prorank-link-map-svg .node.is-selected circle {
  filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.24));
}

.prorank-link-map-svg .orphan-node circle {
  animation: pulse 2s infinite;
}

.prorank-link-map-svg__label {
  font-size: 11px;
  font-weight: 700;
  fill: #334155;
  pointer-events: none;
}

.prorank-il-map-lite__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 420px;
  text-align: center;
}

.prorank-il-map-lite__state p {
  max-width: 560px;
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
}

.prorank-il-map-lite__state-icon {
  width: 32px;
  height: 32px;
  color: rgba(255, 214, 102, 0.96);
}

.prorank-il-map-lite__state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.prorank-il-map-lite__spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ffd166;
  border-radius: 999px;
  animation: prorank-il-map-spin 0.8s linear infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes prorank-il-map-spin {
  to {
    transform: rotate(360deg);
  }
}


/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
