/* Visa Checker Pro — Frontend Styles */

:root {
  --vc-green:  #16a34a;
  --vc-purple: #7c3aed;
  --vc-orange: #ea580c;
  --vc-blue:   #2563eb;
  --vc-red:    #dc2626;
  --vc-gray:   #6b7280;
  --vc-border: #e5e7eb;
  --vc-bg:     #f9fafb;
  --vc-white:  #ffffff;
  --vc-text:   #111827;
  --vc-radius: 14px;
  --vc-shadow: 0 18px 42px -30px rgba(15,23,42,.45);
}

.visa-checker-wrap * { box-sizing: border-box; }

.visa-checker-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--vc-text);
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* ── Card ── */
.vc-card {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--vc-shadow);
}

/* ── Form ── */
.vc-form { display: flex; flex-direction: column; gap: 16px; }

/* Two-column 50/50 row inside the form */
.vc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media(max-width: 600px) {
  .vc-form-row { grid-template-columns: 1fr; }
}

.vc-field label {
  display: block;
  font-weight: 750;
  font-size: .82rem;
  margin-bottom: 7px;
  color: #0f172a;
}

.vc-field select,
.vc-field input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--vc-border);
  border-radius: 11px;
  font-size: .95rem;
  background: #ffffff;
  appearance: auto;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.vc-field select:hover,
.vc-field input[type="text"]:hover {
  border-color: #cbd5e1;
}

.vc-field select:focus,
.vc-field input[type="text"]:focus {
  outline: none;
  border-color: var(--vc-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.vc-field {
  position: relative;
}

.vc-field .vc-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.vc-combobox {
  position: relative;
  width: 100%;
}

.vc-combobox-trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid var(--vc-border);
  border-radius: 11px;
  background: #ffffff;
  color: #334155;
  font: inherit;
  font-size: .95rem;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.vc-combobox-trigger:hover {
  border-color: #cbd5e1;
}

.vc-combobox-trigger:focus,
.vc-combobox.is-open .vc-combobox-trigger {
  outline: none;
  border-color: var(--vc-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.vc-combobox-trigger.is-invalid {
  border-color: var(--vc-red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .1);
}

.vc-combobox-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-combobox-trigger.has-value .vc-combobox-value {
  color: #0f172a;
}

.vc-combobox-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.vc-combobox-icon::before {
  content: "";
  position: absolute;
  inset: 3px 2px auto;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid #64748b;
  border-bottom: 1.8px solid #64748b;
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.vc-combobox.is-open .vc-combobox-icon::before {
  transform: translateY(3px) rotate(225deg);
}

.vc-combobox-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: none;
  padding: 7px;
  border: 1px solid #dbe6f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}

.vc-combobox.is-open .vc-combobox-menu {
  display: block;
}

.vc-combobox-search-wrap {
  position: relative;
  margin-bottom: 6px;
}

.vc-combobox-search {
  width: 100%;
  min-height: 38px;
  padding: 0 12px 0 36px;
  border: 1px solid #dbe6f5;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: .92rem;
}

.vc-combobox-search:focus {
  outline: none;
  border-color: var(--vc-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.vc-combobox-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1.7px solid #94a3b8;
  border-radius: 999px;
  transform: translateY(-55%);
  pointer-events: none;
}

.vc-combobox-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.7px;
  border-radius: 999px;
  background: #94a3b8;
  transform: rotate(45deg);
}

.vc-combobox-list {
  max-height: 248px;
  overflow-y: auto;
  padding-right: 2px;
}

.vc-combobox-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: .92rem;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.vc-combobox-option:hover,
.vc-combobox-option:focus {
  outline: none;
  background: #eff6ff;
  color: #1d4ed8;
}

.vc-combobox-option.is-selected {
  background: #eaf2ff;
  color: #1d4ed8;
  font-weight: 760;
}

.vc-combobox-empty {
  padding: 12px 10px;
  color: var(--vc-gray);
  font-size: .9rem;
}

.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 750;
  cursor: pointer;
  transition: opacity .2s, transform .16s ease, box-shadow .16s ease;
  text-decoration: none;
  text-align: center;
}
.vc-btn:hover { opacity: .92; transform: translateY(-1px); }
.vc-btn-primary { background: var(--vc-blue);   color: #fff; }
.vc-btn-green   { background: var(--vc-green);  color: #fff; }
.vc-btn-orange  { background: var(--vc-orange); color: #fff; }
.vc-btn-purple  { background: var(--vc-purple); color: #fff; }
.vc-btn-red     { background: var(--vc-red);    color: #fff; }
.vc-btn-gray    { background: var(--vc-gray);   color: #fff; }
.vc-btn-sm { padding: 7px 16px; font-size: .85rem; }

.vc-optional-toggle {
  font-size: .85rem;
  color: var(--vc-blue);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
}

/* ── Transit panel ── */
.vc-transit-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
}
.vc-transit-toggle-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--vc-blue);
  cursor: pointer;
}

.vc-transit-panel {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Transit result card ── */
.vc-transit-card {
  margin-top: 0;
}
.vc-transit-card .vc-result-badge {
  font-size: .95rem;
  margin-bottom: 12px;
}

/* ── Result ── */
#vc-result-area {
  margin-top: 20px;
}

.vc-result {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, .12);
  animation: vcFadeIn .3s ease;
}

.vc-result::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #0f172a, #2563eb, rgba(37, 99, 235, 0));
}
@keyframes vcFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.vc-result-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.vc-result-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vc-result h3 {
  margin: 10px 0 0;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 850;
}

.vc-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 820;
  white-space: nowrap;
  margin: 0;
}

.vc-result-badge::before {
  content: none;
}

.vc-badge-visa_free           { background:#f0fdf4; color:#047857; }
.vc-badge-visa_on_arrival     { background:#f5f3ff; color:#6d28d9; }
.vc-badge-evisa               { background:#fff7ed; color:#c2410c; }
.vc-badge-eta                 { background:#eff6ff; color:#1d4ed8; }
.vc-badge-embassy_visa        { background:#fff1f2; color:#be123c; }
.vc-badge-not_allowed         { background:#f8fafc; color:#475569; }
.vc-badge-transit_free        { background:#f0fdf4; color:#047857; }
.vc-badge-transit_visa_required { background:#fff1f2; color:#be123c; }

.vc-result-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.vc-meta-pill {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
  color: #0f172a;
  font-size: .95rem;
  font-weight: 750;
}

.vc-meta-pill strong {
  display: block;
  margin-bottom: 4px;
  font-size: .7rem;
  color: #64748b;
  font-weight: 820;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.vc-note-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.vc-note {
  position: relative;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.55;
  margin-top: 0;
}

.vc-note::before {
  content: none;
}

.vc-note-benefit    { background: #f0fdf4; color: #047857; border-color: #bbf7d0; }
.vc-note-noshortcut { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.vc-note-default    { background: #f8fafc; color: #334155; border-color: #e2e8f0; }

.vc-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.vc-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 780;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #ffffff;
}
.vc-link-official { color: #1d4ed8; }
.vc-link-embassy  { color: #475569; }

/* ── Affiliates ── */
.vc-affiliates {
  margin-top: 22px;
}

.vc-affiliates h3 {
  margin: 0 0 10px;
  color: #334155;
  font-size: .76rem;
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .075em;
}

.vc-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.vc-affiliate-card {
  min-height: 164px;
  border: 1px solid #dbe6f5;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.vc-affiliate-card:hover {
  transform: translateY(-2px);
  border-color: #b9c9df;
  box-shadow: 0 26px 54px rgba(15, 23, 42, .095);
}

.vc-affiliate-card img {
  max-width: 92px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 12px;
}

.vc-affiliate-card h4 {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
  font-weight: 820;
}

.vc-affiliate-card p {
  color: #475569;
  font-size: .86rem;
  line-height: 1.55;
  margin: 7px 0 12px;
  flex: 1;
}

.vc-affiliate-rating {
  color: #f59e0b;
  font-size: .85rem;
  letter-spacing: .03em;
  margin-bottom: 12px;
}

.vc-affiliate-card .vc-btn {
  width: 100%;
  min-height: 46px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
}

.vc-affiliate-card .vc-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, .12), 0 14px 28px rgba(15, 23, 42, .16);
}

/* ── Plan Your Trip banner ── */
/* Structured result layout */
.vc-result-suite {
  display: grid;
  gap: 18px;
}

.vc-result-suite .vc-card {
  margin-bottom: 0;
}

.vc-result-primary,
.vc-transit-card {
  border-color: #dbe6f5;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.vc-result-primary {
  padding: 26px;
}

.vc-result-primary::before {
  inset: 0 22px auto;
  background: linear-gradient(90deg, #0f172a, #2563eb, #16a34a);
}

.vc-result-body {
  display: grid;
  gap: 14px;
}

.vc-result-summary-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.vc-transit-summary-grid {
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr));
}

.vc-status-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
}

.vc-status-card strong {
  color: #64748b;
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.vc-status-card .vc-result-badge {
  flex: 0 0 auto;
}

.vc-status-card .vc-result-badge {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .9rem;
}

.vc-status-card-visa_free {
  background: #f0fdf4;
  border-color: var(--vc-green);
}

.vc-status-card-visa_on_arrival {
  background: #f5f3ff;
  border-color: var(--vc-purple);
}

.vc-status-card-evisa {
  background: #fff7ed;
  border-color: var(--vc-orange);
}

.vc-status-card-eta {
  background: #eff6ff;
  border-color: var(--vc-blue);
}

.vc-status-card-embassy_visa {
  background: #fff1f2;
  border-color: var(--vc-red);
}

.vc-status-card-not_allowed {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.vc-result-primary .vc-result-meta,
.vc-transit-card .vc-result-meta {
  margin: 0;
}

.vc-result-summary-grid .vc-result-meta {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.vc-transit-summary-grid .vc-result-meta {
  display: contents;
}

.vc-result-primary .vc-note-list {
  margin-top: 0;
}

.vc-result-primary .vc-note-list,
.vc-transit-card .vc-note {
  width: 100%;
}

.vc-transit-card {
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.vc-transit-card.is-clear {
  border-left: 4px solid var(--vc-green);
}

.vc-transit-card.is-required {
  border-left: 4px solid var(--vc-red);
}

.vc-transit-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.vc-transit-card .vc-result-badge {
  margin-bottom: 0;
}

.vc-transit-card .vc-note {
  margin-top: 14px;
}

.vc-transit-card .vc-links {
  margin-top: 14px;
}

.vc-result-suite .vc-link {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
  transition: opacity .2s, transform .16s ease, box-shadow .16s ease;
}

.vc-result-suite .vc-link:hover {
  opacity: .92;
  color: #ffffff;
  transform: translateY(-1px);
}

.vc-result-suite .vc-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, .12), 0 14px 28px rgba(15, 23, 42, .16);
}

.vc-affiliates {
  padding-top: 4px;
}

.vc-affiliates-head {
  margin-bottom: 10px;
}

.vc-affiliates .vc-result-kicker {
  background: transparent;
}

.vc-result-suite .vc-affiliate-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 260px));
}

.vc-result-suite .vc-affiliate-card {
  min-height: 0;
  border-radius: 14px;
}

.vc-plan-trip {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-color: #bfdbfe;
}
.vc-plan-trip h3 { font-size: 1.1rem; }

/* ── Passport Rankings ── */
.vc-rankings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.vc-search-input { padding: 10px 14px; border: 1px solid var(--vc-border); border-radius: 8px; font-size: .95rem; min-width: 240px; }

.vc-rankings-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.vc-rankings-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--vc-border); font-weight: 600; color: var(--vc-gray); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.vc-rankings-table td { padding: 12px; border-bottom: 1px solid var(--vc-border); }
.vc-rankings-table tr:last-child td { border-bottom: none; }
.vc-rankings-table tr:hover td { background: var(--vc-bg); }
.vc-rank-number  { font-weight: 700; color: var(--vc-gray); }
.vc-country-name { font-weight: 600; }
.vc-country-link { text-decoration: none; color: var(--vc-blue); }
.vc-count-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.vc-count-green  { background: #dcfce7; color: var(--vc-green); }
.vc-count-purple { background: #ede9fe; color: var(--vc-purple); }
.vc-count-orange { background: #ffedd5; color: var(--vc-orange); }
.vc-count-blue   { background: #dbeafe; color: var(--vc-blue); }
.vc-count-red    { background: #fee2e2; color: var(--vc-red); }

.vc-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.vc-page-btn { padding: 6px 12px; border: 1px solid var(--vc-border); border-radius: 6px; cursor: pointer; background: var(--vc-white); font-size: .85rem; }
.vc-page-btn.active { background: var(--vc-blue); color: #fff; border-color: var(--vc-blue); }
.vc-page-btn:hover:not(.active) { background: var(--vc-bg); }

/* ── Destination landing ── */
.vc-dest-search-wrap { margin-bottom: 8px; }
.vc-dest-search {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--vc-bg);
}
.vc-dest-search:focus { outline: 2px solid var(--vc-blue); }

/* Alphabetical section */
.vc-alpha-section { margin-top: 24px; }
.vc-alpha-letter {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vc-blue);
  padding: 6px 0;
  border-bottom: 2px solid var(--vc-border);
  margin-bottom: 10px;
}

.vc-dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.vc-dest-card {
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--vc-text);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, background .15s;
}
.vc-dest-card:hover { border-color: var(--vc-blue); color: var(--vc-blue); background: #eff6ff; }

/* "Can't find destination?" CTA */
.vc-dest-cta {
  margin-top: 32px;
  padding: 20px;
  background: var(--vc-bg);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  text-align: center;
}
.vc-dest-cta p { margin: 0 0 12px; color: var(--vc-gray); font-size: .95rem; }

/* ── Tabs ── */
.vc-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--vc-border); margin-bottom: 20px; flex-wrap: wrap; }
.vc-tab { padding: 10px 20px; cursor: pointer; font-weight: 600; font-size: .9rem; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s; }
.vc-tab.active { border-bottom-color: var(--vc-blue); color: var(--vc-blue); }
.vc-tab:hover:not(.active) { color: var(--vc-blue); }

/* Coloured context banner inside tabs */
.vc-tab-banner {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Destination detail ── */
.vc-dest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vc-dest-item { padding: 8px 12px; border-radius: 8px; font-size: .85rem; background: var(--vc-bg); display: flex; align-items: center; gap: 6px; }

/* "Have a different residency?" CTA */
.vc-residency-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border-color: #c7d2fe;
  text-align: center;
}
.vc-residency-cta h3 { font-size: 1rem; }

/* ── Loading / Error ── */
.vc-loading { text-align: center; padding: 40px; color: var(--vc-gray); }
.vc-spinner { display: inline-block; width: 32px; height: 32px; border: 3px solid var(--vc-border); border-top-color: var(--vc-blue); border-radius: 50%; animation: vcSpin .7s linear infinite; margin-bottom: 12px; }
@keyframes vcSpin { to { transform: rotate(360deg); } }
.vc-error { background: #fee2e2; color: var(--vc-red); padding: 14px; border-radius: 8px; margin: 12px 0; }

/* ── Passport / Destination Card Grid ── */
.vc-wrap-wide { max-width: 1140px; }

.vc-passport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.vc-pcard {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 18px;
  text-decoration: none;
  color: var(--vc-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--vc-shadow);
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.vc-pcard:hover {
  box-shadow: 0 8px 24px -4px rgba(0,0,0,.15);
  border-color: var(--vc-blue);
  transform: translateY(-2px);
}

.vc-pcard-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vc-pcard-code {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  background: var(--vc-blue);
  color: #fff;
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.vc-pcard-name {
  font-size: .95rem;
  font-weight: 700;
  flex: 1;
  line-height: 1.2;
  color: var(--vc-text);
}
.vc-pcard-ext {
  font-size: .8rem;
  color: var(--vc-gray);
  flex-shrink: 0;
}

.vc-pcard-rank {
  font-size: .82rem;
  color: var(--vc-gray);
}
.vc-pcard-rank strong { color: var(--vc-text); }

.vc-pcard-strength {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
}
.vc-pcard-badge {
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.vc-pcard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.vc-pcard-stat {
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vc-pcard-stat span { font-size: 1.15rem; font-weight: 700; line-height: 1; }
.vc-pcard-stat small { font-size: .7rem; font-weight: 500; }

.vc-pstat-green  { background: #dcfce7; color: var(--vc-green); }
.vc-pstat-amber  { background: #fef9c3; color: #d97706; }
.vc-pstat-blue   { background: #dbeafe; color: var(--vc-blue); }
.vc-pstat-red    { background: #fee2e2; color: var(--vc-red); }

.vc-pcard-updated { font-size: .73rem; color: var(--vc-gray); border-top: 1px solid var(--vc-border); padding-top: 8px; margin-top: 2px; }

/* ── Responsive ── */
@media(max-width: 600px) {
  .vc-card { padding: 16px; }
  .vc-result { padding: 18px; }
  .vc-result-header { display: grid; gap: 12px; }
  .vc-result-badge { width: fit-content; white-space: normal; }
  .vc-result-primary,
  .vc-transit-card { padding: 18px; }
  .vc-result-summary-grid { grid-template-columns: 1fr; }
  .vc-status-card { align-items: flex-start; flex-direction: column; }
  .vc-transit-head { display: grid; gap: 10px; }
  .vc-result-suite .vc-affiliate-grid { grid-template-columns: 1fr; }
  .vc-affiliate-grid { grid-template-columns: 1fr; }
  .vc-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .vc-tab { white-space: nowrap; padding: 10px 12px; font-size: .8rem; }
  .vc-dest-grid { grid-template-columns: 1fr 1fr; }
  .vc-passport-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vc-pcard { padding: 14px; }
}

/* ── FAQ Accordion ─────────────────────────────────────────────────────── */
.vc-faq-section h2 { margin-bottom: 20px; }

.vc-faq-list {
  border: 1px solid var(--vc-border);
  border-radius: 12px;
  overflow: hidden;
}

.vc-faq-item { border-bottom: 1px solid var(--vc-border); }
.vc-faq-item:last-child { border-bottom: none; }

.vc-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vc-text);
  line-height: 1.4;
  transition: background .15s;
}
.vc-faq-question:hover { background: #f9fafb; }
.vc-faq-question[aria-expanded="true"] { background: #eff6ff; color: var(--vc-blue); }

.vc-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease;
}
.vc-faq-question[aria-expanded="true"] .vc-faq-icon { transform: rotate(45deg); }

.vc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .25s ease;
  padding: 0 20px;
}
.vc-faq-answer.is-open {
  max-height: 800px;
  padding: 4px 20px 20px;
}
.vc-faq-answer p {
  margin: 0;
  color: #374151;
  line-height: 1.75;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .vc-faq-question { padding: 14px 16px; font-size: .92rem; }
  .vc-faq-answer.is-open { padding: 4px 16px 16px; }
}
