/* ═══════════════════════════════════════
   VISA CHECKLIST PRO v9 · Navy Blue Theme
   ═══════════════════════════════════════ */
:root {
  --navy:   #0d2137;
  --navy2:  #102a47;
  --blue:   #1565c0;
  --blue2:  #1976d2;
  --sky:    #2196f3;
  --sky-l:  #e3f2fd;
  --sky-ll: #f0f7ff;
  --bdr:    #cfe2f3;
  --text:   #1a2a3a;
  --muted:  #546e8a;
  --white:  #ffffff;
  --gold:   #f59e0b;
  --rad:    10px;
  --shad:   0 4px 24px rgba(13,33,55,.12);
}
*  { box-sizing: border-box; margin: 0; padding: 0; }
#vca-wrap {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

/* ── HERO ─────────────────────────── */
.vca-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a60 55%, #1565c0 100%);
  border-radius: var(--rad) var(--rad) 0 0;
  padding: 44px 36px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vca-hero::before {
  content: '';
  position: absolute; top: -70px; right: -70px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.vca-hero::after {
  content: '';
  position: absolute; bottom: -90px; left: 25%;
  width: 340px; height: 340px;
  background: rgba(33,150,243,.06); border-radius: 50%;
}
.vca-hero-inner { position: relative; z-index: 1; }
.vca-hero-plane { font-size: 46px; display: block; margin-bottom: 14px; }
.vca-hero-title { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: .4px; margin-bottom: 10px; }
.vca-hero-sub   { font-size: 15px; color: rgba(255,255,255,.7); }

/* ── FILTER CARD ─────────────────── */
.vca-card {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-top: none;
  padding: 28px 28px 24px;
  box-shadow: var(--shad);
}
.vca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.vca-col        { display: flex; flex-direction: column; gap: 7px; }
.vca-col-lg     { flex: 2.2; min-width: 220px; }
.vca-col-md     { flex: 1.4; min-width: 160px; }
.vca-col-sm     { flex: 0.9; min-width: 110px; }
.vca-col-btn    { flex-shrink: 0; }

.vca-lbl {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted);
}

/* ── COUNTRY PICKER ─────────────── */
.vca-picker { position: relative; }

.vca-search-wrap {
  display: flex; align-items: center;
  border: 2px solid var(--bdr);
  border-radius: var(--rad);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  cursor: text;
}
.vca-search-wrap:focus-within,
.vca-search-wrap.active {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(33,150,243,.15);
}
.vca-search-ico {
  padding: 0 8px 0 12px;
  font-size: 15px; color: var(--muted); flex-shrink: 0;
}
#vca-search {
  flex: 1; border: none; outline: none;
  padding: 11px 4px; font-size: 14px;
  font-family: inherit; color: var(--text);
  background: transparent; min-width: 0;
}
#vca-search::placeholder { color: #a0b4c8; }
.vca-arrow {
  padding: 0 12px; font-size: 12px; color: var(--muted);
  cursor: pointer; user-select: none;
  transition: transform .2s;
}
.vca-arrow.open { transform: rotate(180deg); }

/* Selected chip */
.vca-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--sky-l);
  border: 2px solid var(--sky);
  border-radius: var(--rad);
  cursor: default;
}
#vca-chip-flag { font-size: 20px; }
#vca-chip-name { font-weight: 700; color: var(--blue); font-size: 14px; flex: 1; }
#vca-chip-clear {
  font-size: 11px; font-weight: 700; color: var(--sky);
  text-transform: uppercase; letter-spacing: .4px;
  background: none; border: none; cursor: pointer;
  padding: 0; font-family: inherit;
}
#vca-chip-clear:hover { color: var(--blue); }

/* Dropdown */
.vca-dd {
  position: absolute;
  top: calc(100% + 5px); left: 0; right: 0;
  background: var(--white);
  border: 2px solid var(--sky);
  border-radius: var(--rad);
  box-shadow: 0 10px 36px rgba(13,33,55,.18);
  z-index: 99999;
  overflow: hidden;
}
.vca-dd-inner {
  max-height: 300px;
  overflow-y: auto;
}
.vca-dd-inner::-webkit-scrollbar { width: 5px; }
.vca-dd-inner::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 4px; }
.vca-dd-inner::-webkit-scrollbar-track { background: var(--sky-ll); }

.vca-dd-region {
  padding: 6px 14px 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted); background: var(--sky-ll);
  border-bottom: 1px solid var(--bdr);
  position: sticky; top: 0; z-index: 1;
}
.vca-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #f0f6ff;
  transition: background .1s;
  font-size: 14px;
}
.vca-dd-item:last-child { border-bottom: none; }
.vca-dd-item:hover, .vca-dd-item.hl {
  background: var(--sky-l); color: var(--blue); font-weight: 600;
}
.vca-dd-flag { font-size: 18px; flex-shrink: 0; }
.vca-dd-none { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }

/* ── SELECT ──────────────────────── */
/* ── SELECT ─────────────────────── */
#vca-wrap .vca-select {
  width: 100% !important;
  padding: 11px 34px 11px 14px !important;
  height: auto !important;
  min-height: 46px !important;
  line-height: 1.5 !important;
  border: 2px solid var(--bdr) !important;
  border-radius: var(--rad) !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: var(--text) !important;
  background-color: var(--white) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23546e8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-shadow: none !important;
  display: block !important;
  overflow: visible !important;
  transition: border-color .2s, box-shadow .2s;
}
#vca-wrap .vca-select:focus {
  border-color: var(--sky) !important;
  box-shadow: 0 0 0 3px rgba(33,150,243,.15) !important;
  outline: none !important;
}

/* ── FIXED PILL ──────────────────── */
.vca-pill {
  padding: 11px 14px;
  background: var(--sky-ll); border: 2px solid var(--bdr);
  border-radius: var(--rad); font-size: 14px;
  font-weight: 600; color: var(--muted); white-space: nowrap;
}

/* ── BUTTON ──────────────────────── */
.vca-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: var(--white); border: none; border-radius: var(--rad);
  padding: 12px 28px; font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: .3px;
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap; height: 46px; font-family: inherit;
}
.vca-btn:hover   { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(21,101,192,.45); }
.vca-btn:active  { transform: translateY(0); }
.vca-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── LOADING ─────────────────────── */
#vca-loading { text-align: center; padding: 72px 20px; }
.vca-loading-box { display: inline-block; }
.vca-spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--sky-l); border-top-color: var(--blue);
  border-radius: 50%; animation: vca-spin .8s linear infinite;
  margin: 0 auto 18px;
}
@keyframes vca-spin { to { transform: rotate(360deg); } }
#vca-loading p { color: var(--muted); font-size: 14px; }

/* ── RESULTS ─────────────────────── */
#vca-result { margin-top: 28px; animation: vca-in .4s ease; }
@keyframes vca-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

/* Result header */
.vca-rhead {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: var(--rad) var(--rad) 0 0;
  padding: 22px 28px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.vca-rhead-left  { display: flex; align-items: center; gap: 16px; }
.vca-rhead-flag  { font-size: 40px; }
.vca-rhead-info  {}
.vca-rhead-country { font-size: 22px; font-weight: 800; color: #fff; }
.vca-rhead-purpose { font-size: 13px; color: rgba(255,255,255,.68); margin-top: 3px; }
.vca-rhead-tags  { display: flex; gap: 8px; flex-wrap: wrap; }
.vca-tag {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  padding: 4px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}

/* Result body */
.vca-rbody {
  background: var(--white);
  border: 1px solid var(--bdr); border-top: none;
  border-radius: 0 0 var(--rad) var(--rad);
}

/* Summary table */
.vca-sum { width: 100%; border-collapse: collapse; font-size: 13px; }
.vca-sum th {
  background: var(--sky-ll); padding: 12px 18px; text-align: center;
  font-weight: 700; color: var(--navy); font-size: 11px;
  text-transform: uppercase; letter-spacing: .6px;
  border-bottom: 1px solid var(--bdr); border-right: 1px solid var(--bdr);
}
.vca-sum td {
  padding: 12px 18px; text-align: center;
  border-bottom: 1px solid var(--bdr); border-right: 1px solid var(--bdr);
  font-weight: 600;
}
.vca-sum th:last-child, .vca-sum td:last-child { border-right: none; }

/* Section */
.vca-sec { padding: 24px 28px; border-bottom: 1px solid var(--bdr); }
.vca-sec:last-child { border-bottom: none; }
.vca-sec-hdr {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 2px solid var(--sky-l);
}

/* ── FORMS GRID ──────────────────── */
.vca-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vca-forms-col-hdr {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--muted); margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--bdr);
}
.vca-form-item {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--sky-ll); border: 1px solid var(--bdr);
  border-radius: 8px; margin-bottom: 8px; gap: 10px;
}
.vca-form-item:last-child { margin-bottom: 0; }
.vca-form-left {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  min-width: 0; flex: 1;
}
.vca-form-left span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vca-form-btns { display: flex; gap: 6px; flex-shrink: 0; }

.vca-fbtn-view, .vca-fbtn-dl {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: all .15s; border: none; cursor: pointer;
  font-family: inherit;
}
.vca-fbtn-view {
  background: var(--sky-l); color: var(--blue);
  border: 1.5px solid var(--blue2);
}
.vca-fbtn-view:hover { background: var(--blue2); color: #fff; }
.vca-fbtn-dl   { background: var(--navy); color: var(--white); }
.vca-fbtn-dl:hover { background: #1a3a60; }
.vca-forms-empty { color: var(--muted); font-size: 13px; font-style: italic; }

/* Embassy grid */
.vca-emb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px;
  background: var(--sky-ll); border: 1px solid var(--bdr);
  border-radius: var(--rad); padding: 18px 22px;
}
.vca-emb-row  { display: flex; gap: 8px; font-size: 13.5px; align-items: flex-start; }
.vca-emb-lbl  { font-weight: 700; color: var(--navy); min-width: 62px; flex-shrink: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; margin-top: 3px; }
.vca-emb-val  { color: var(--muted); }
.vca-emb-val a { color: var(--blue); text-decoration: none; }
.vca-emb-val a:hover { text-decoration: underline; }
.vca-elinks   { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vca-elink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--white);
  border: 1.5px solid var(--blue2); border-radius: 6px;
  font-size: 12px; font-weight: 700; color: var(--blue);
  text-decoration: none; transition: all .15s;
}
.vca-elink:hover { background: var(--blue2); color: #fff; }

/* Doc list */
.vca-docs { list-style: none; padding: 0; }
.vca-docs li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #f0f6ff;
  font-size: 14px; color: #2a3a4a; line-height: 1.6;
}
.vca-docs li:last-child { border-bottom: none; }
.vca-dnum {
  min-width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* Sub sections */
.vca-sub {
  background: var(--sky-ll); border: 1px solid var(--bdr);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--rad) var(--rad) 0;
  padding: 14px 18px; margin-bottom: 12px;
}
.vca-sub:last-child { margin-bottom: 0; }
.vca-sub-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.vca-sub-list  { list-style: none; padding: 0; counter-reset: si; }
.vca-sub-list li {
  font-size: 13.5px; color: var(--muted); padding: 5px 0 5px 22px;
  position: relative; counter-increment: si; line-height: 1.6;
  border-bottom: 1px solid #e8f0f8;
}
.vca-sub-list li:last-child { border-bottom: none; }
.vca-sub-list li::before {
  content: counter(si)"."; position: absolute; left: 0;
  color: var(--blue); font-weight: 700; font-size: 12px;
}

/* Fees table */
.vca-fees {
  width: 100%; border-collapse: collapse; font-size: 14px;
  border: 1px solid var(--bdr); border-radius: var(--rad); overflow: hidden;
}
.vca-fees tr:nth-child(odd)  td:first-child { background: var(--sky-ll); }
.vca-fees tr:nth-child(even) td:first-child { background: #e8f4fd; }
.vca-fees tr:nth-child(odd)  td:last-child  { background: #fff; }
.vca-fees tr:nth-child(even) td:last-child  { background: var(--sky-ll); }
.vca-fees td { padding: 12px 18px; border-bottom: 1px solid var(--bdr); }
.vca-fees tr:last-child td { border-bottom: none; }
.vca-fees td:first-child { font-weight: 700; color: var(--navy); width: 230px; border-right: 1px solid var(--bdr); }

/* Notes */
.vca-notes { list-style: none; padding: 0; }
.vca-notes li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 13.5px; color: #4a5568;
  border-bottom: 1px solid #f5f0e8; line-height: 1.6;
}
.vca-notes li:last-child { border-bottom: none; }
.vca-nnum {
  min-width: 22px; height: 22px; background: var(--gold); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* Disclaimer */
.vca-disc {
  background: #fffbeb; border: 1px solid #fde68a;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--rad) var(--rad) 0;
  padding: 13px 18px; font-size: 12.5px; color: #78350f; line-height: 1.7;
}

/* Error */
.vca-err {
  background: #fff0f0; border-left: 4px solid #dc2626;
  border-radius: 0 var(--rad) var(--rad) 0;
  padding: 18px 22px; color: #991b1b; font-size: 14px; line-height: 1.7;
  margin-top: 20px;
}

/* ── RESPONSIVE ──────────────────── */
@media (max-width: 768px) {
  .vca-row { flex-direction: column; }
  .vca-col, .vca-col-lg, .vca-col-md, .vca-col-sm, .vca-col-btn { width: 100%; flex: none; min-width: unset; }
  .vca-btn { width: 100%; justify-content: center; height: 50px; }
  .vca-rhead { flex-direction: column; }
  .vca-hero  { padding: 30px 20px; }
  .vca-card  { padding: 20px 16px; }
  .vca-sec   { padding: 18px 16px; }
  .vca-emb-grid   { grid-template-columns: 1fr; }
  .vca-forms-grid { grid-template-columns: 1fr; }
  .vca-fees td:first-child { width: 140px; }
  .vca-sum { font-size: 11px; }
  .vca-sum th, .vca-sum td { padding: 8px 10px; }
}


/* ── FORCE FIX: Select dropdown text cut issue ── */
#vca-wrap select,
#vca-wrap select.vca-select,
#vca-wrap #vca-purpose {
  height: auto !important;
  min-height: 48px !important;
  line-height: 2 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  font-size: 14px !important;
  overflow: visible !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
