/* =========================================================================
   Visa Doo — Passport Index Stylesheet
   Design Language: Clean, Modern Travel-Tech Aesthetic
   ========================================================================= */

/* Hero Section */
.pi-hero {
  position: relative;
  padding: 64px 0 44px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%), #ffffff;
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.pi-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/assets/world-dots-pattern.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.045;
  pointer-events: none;
}

.pi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.pi-hero-badge svg {
  width: 15px;
  height: 15px;
}

.pi-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 860px;
}

.pi-hero .pi-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.pi-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Statistics Bar */
.pi-stats-section {
  padding: 36px 0;
  background: #ffffff;
}

.pi-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pi-stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pi-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.12);
  border-color: var(--blue-400);
}

.pi-stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.pi-stat-label svg {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}

.pi-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.pi-stat-sub {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pi-meta-source-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--sky-50);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
}

/* Section Common */
.pi-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.pi-section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.pi-section-header p {
  font-size: 17px;
  color: var(--muted);
}

/* Search, Filter & Sort Controls */
.pi-controls-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.pi-controls-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pi-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.pi-search-box input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: 9999px;
  outline: none;
  background: var(--sky-50);
  transition: all 0.2s ease;
  font-family: inherit;
}

.pi-search-box input:focus {
  border-color: var(--blue-500);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.pi-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.pi-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: none;
}

.pi-search-clear.visible {
  display: block;
}

.pi-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pi-sort-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.pi-sort-select {
  padding: 13px 36px 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 9999px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E") no-repeat right 12px center;
  background-size: 18px;
  appearance: none;
  cursor: pointer;
  outline: none;
}

.pi-sort-select:focus {
  border-color: var(--blue-500);
}

/* Region Filter Pills */
.pi-region-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pi-region-btn {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.pi-region-btn:hover {
  background: var(--sky-50);
  color: var(--blue-600);
  border-color: var(--blue-400);
}

.pi-region-btn.active {
  background: var(--blue-600);
  color: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pi-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
  padding: 0 4px;
}

.pi-reset-link {
  color: var(--blue-600);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-size: 13.5px;
}

/* Rankings Table Layout */
.pi-rankings-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pi-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pi-table th {
  background: #f8fafc;
  padding: 16px 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.pi-table td {
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}

.pi-table tr:last-child td {
  border-bottom: none;
}

.pi-table tr:hover td {
  background: #fcfdfe;
}

/* Rank Badge */
.pi-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.pi-rank-1 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-color: #fcd34d;
}

.pi-rank-2 {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
  border-color: #cbd5e1;
}

.pi-rank-3 {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #9a3412;
  border-color: #fdba74;
}

/* Country Cell */
.pi-country-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pi-flag-img {
  width: 36px;
  height: 25px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.pi-country-info {
  display: flex;
  flex-direction: column;
}

.pi-country-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  transition: color 0.15s ease;
}

.pi-country-cell:hover .pi-country-name {
  color: var(--blue-600);
}

.pi-country-region {
  font-size: 12px;
  color: #64748b;
}

/* Mobility Meter */
.pi-mobility-cell {
  min-width: 140px;
}

.pi-score-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.pi-meter-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pi-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), #10b981);
}

/* Category Badges */
.pi-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-visa-free {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-visa-on-arrival {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.badge-eta {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-evisa {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.badge-visa-required {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-origin {
  background: #eff6ff;
  color: var(--blue-900);
  border: 1.5px solid var(--blue-600);
}

/* Table Action Buttons */
.pi-action-btn {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--blue-700);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pi-action-btn:hover {
  background: var(--blue-600);
  color: #ffffff;
  border-color: var(--blue-600);
}

/* Pagination / Load More */
.pi-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 48px;
}

/* Empty State */
.pi-empty-state {
  text-align: center;
  padding: 56px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pi-empty-state svg {
  width: 48px;
  height: 48px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.pi-empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pi-empty-state p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* =========================================================================
   Comparison Section Styles
   ========================================================================= */
.pi-compare-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff, var(--sky-50));
  border-top: 1px solid var(--line);
}

.pi-compare-picker-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.pi-compare-selector-box {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.pi-compare-selector-box:focus-within {
  border-color: var(--blue-500);
}

.pi-compare-selector-box label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.pi-compare-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.pi-vs-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Compare Presets */
.pi-compare-presets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pi-preset-chip {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  color: var(--blue-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pi-preset-chip:hover {
  background: var(--blue-100);
  border-color: var(--blue-500);
}

/* Side by Side Comparison Grid */
.pi-compare-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.pi-compare-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pi-compare-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.pi-compare-flag {
  width: 52px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.pi-compare-country-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.pi-compare-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.pi-compare-metric-row:last-child {
  border-bottom: none;
}

.pi-compare-metric-val {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Destination Differences Tabs */
.pi-diff-breakdown {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pi-diff-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pi-diff-tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pi-diff-tab-btn.active {
  background: var(--blue-600);
  color: #ffffff;
  border-color: var(--blue-600);
}

.pi-diff-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.pi-diff-dest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.pi-diff-dest-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

/* =========================================================================
   Individual Passport Details Page Styles
   ========================================================================= */
.pi-detail-hero {
  padding: 48px 0 32px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%), #ffffff;
  border-bottom: 1px solid var(--line);
}

.pi-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 20px;
}

.pi-back-nav:hover {
  text-decoration: underline;
}

.pi-passport-header-cluster {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.pi-passport-identity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pi-passport-big-flag {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pi-passport-title-wrap h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 6px;
}

.pi-passport-sub-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.pi-score-highlight-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #ffffff;
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -10px rgba(11, 58, 143, 0.4);
}

.pi-score-big-item {
  text-align: center;
}

.pi-score-big-item small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 4px;
}

.pi-score-big-item strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.pi-score-big-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
}

/* Category Breakdown 5 Cards */
.pi-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.pi-cat-summary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.pi-cat-summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.1);
}

.pi-cat-summary-card.active {
  border-color: var(--blue-600);
  background: var(--sky-50);
}

.pi-cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pi-cat-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

.pi-cat-card-count {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

/* World Map Component Styling */
.vd-map-wrapper {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.vd-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.vd-map-zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vd-map-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vd-map-btn:hover {
  background: var(--sky-50);
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.vd-map-legend-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vd-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.vd-legend-pill:hover,
.vd-legend-pill.active {
  background: var(--sky-50);
  color: var(--ink);
  border-color: var(--blue-500);
}

.vd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-all { background: var(--blue-600); }
.dot-vf { background: #10b981; }
.dot-voa { background: #06b6d4; }
.dot-eta { background: #3b82f6; }
.dot-evisa { background: #8b5cf6; }
.dot-vr { background: #94a3b8; }

.vd-map-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.vd-world-svg {
  width: 100%;
  height: auto;
  display: block;
}

.vd-country-path {
  cursor: pointer;
  stroke: #ffffff;
  stroke-width: 0.8;
  transition: fill 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.vd-country-path:hover,
.vd-country-path:focus {
  filter: url(#mapGlow) brightness(1.15);
  stroke: #0f172a;
  stroke-width: 1.5;
  outline: none;
}

.vd-country-path.is-origin {
  stroke: #f59e0b;
  stroke-width: 2.2;
}

/* Floating Map Tooltip */
.vd-map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translate(0, 0);
  max-width: 240px;
}

.vd-map-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.vd-tt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.vd-tt-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.vd-tt-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.vd-tt-dur {
  font-size: 12px;
  color: #cbd5e1;
}

.vd-tt-visadoo {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
}

/* Destination Cards List */
.pi-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.pi-dest-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pi-dest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.12);
  border-color: var(--blue-400);
}

.pi-dest-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pi-dest-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pi-dest-flag {
  width: 36px;
  height: 25px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.pi-dest-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.pi-dest-specs {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pi-dest-conditions {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--sky-50);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.pi-dest-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.15s ease;
  width: 100%;
  text-align: center;
}

.pi-dest-action-link:hover {
  background: var(--blue-600);
  color: #ffffff;
}

/* Promotion Banner */
.pi-promo-banner {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius);
  color: #ffffff;
  padding: 44px 36px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.pi-promo-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
}

.pi-promo-content p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .pi-compare-picker-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pi-vs-circle {
    margin: 0 auto;
  }
  .pi-compare-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pi-hero {
    padding: 44px 0 32px;
  }
  .pi-controls-card {
    padding: 16px;
  }
  .pi-table th:nth-child(4),
  .pi-table td:nth-child(4),
  .pi-table th:nth-child(5),
  .pi-table td:nth-child(5) {
    display: none; /* Hide less critical columns on small mobile */
  }
  .pi-score-highlight-card {
    flex-direction: column;
    width: 100%;
  }
  .pi-score-big-divider {
    width: 60px;
    height: 1px;
  }
}
