/* ===== التأشيرات والوجهات (2026-10-10) — hero, visa cards, destination photo cards, side panel, forms ===== */
.vg { display: flex; flex-direction: column; gap: 14px; --vg-r: 16px; --vg-teal: #0b7a6f; --vg-teal-l: #e6f4f2; }
.vg-i { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.vg .ltr, .vgf .ltr { direction: ltr; text-align: start; }

/* hero */
.vg-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--vg-r); color: #fff;
  background: radial-gradient(120% 160% at 0 0, #13a08f 0, var(--vg-teal) 45%, #075048 100%); box-shadow: var(--shadow); }
.vg-hero__t { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vg-hero__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .14); flex: none; }
.vg-hero__ic .vg-i { width: 26px; height: 26px; color: var(--yellow); }
.vg-hero h2 { font-size: 1.25rem; font-weight: 900; line-height: 1.3; }
.vg-hero p { font-size: .84rem; color: #cdeee9; font-weight: 600; max-width: 560px; }
.vg-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .18); }
.vg-seg button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 9px; padding: .5rem 1rem; font-weight: 800; font-size: .88rem; color: #d7f1ed; background: none; transition: background .18s, color .18s; }
.vg-seg button:hover { color: #fff; }
.vg-seg button small { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 0 7px; font-size: .72rem; }
.vg-seg button.is-on { background: #fff; color: var(--vg-teal); }
.vg-seg button.is-on small { background: var(--vg-teal-l); }

/* toolbar */
.vg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--vg-r); padding: 10px 12px; }
.vg-sp { flex: 1; }
.vg-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #f8fafc; width: 340px; max-width: 100%; color: var(--muted); transition: border-color .18s, background .18s; }
.vg-search:focus-within { border-color: var(--vg-teal); background: #fff; }
.vg-search input { border: 0; outline: 0; background: none; font: inherit; font-size: .88rem; font-weight: 600; padding: .5rem 0; width: 100%; color: var(--ink); }
.vg-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.vg-chips[hidden] { display: none; }
.vg-chip { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .32rem .85rem; font-weight: 800; font-size: .8rem; color: var(--ink); transition: background .18s, border-color .18s, color .18s; }
.vg-chip:hover { border-color: var(--vg-teal); }
.vg-chip.is-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.vg-add { display: inline-flex; align-items: center; gap: 6px; }

/* visa cards */
.vg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vg-card { display: flex; flex-direction: column; gap: 10px; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--vg-r); padding: 14px; font: inherit; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s; }
.vg-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(24, 32, 54, .1); border-color: #b7e0da; }
.vg-card:focus-visible, .vg-dest:focus-visible { outline: 3px solid #99d8cf; outline-offset: 2px; }
.vg-card__h { display: flex; align-items: center; gap: 10px; }
.vg-card__n { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.vg-card__n b { font-size: 1.02rem; font-weight: 900; }
.vg-card__n small { color: var(--muted); font-weight: 700; font-size: .78rem; }
.vg-card__s { color: #475569; font-size: .82rem; font-weight: 600; line-height: 1.6; }
.vg-card__f { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.vg-price { font-weight: 900; font-size: 1.05rem; color: var(--vg-teal); }
.vg-price--none { font-size: .85rem; color: var(--muted); }
.vg-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.vg-meta span { display: inline-flex; align-items: center; gap: 4px; }
.vg-meta .vg-i { width: 14px; height: 14px; }
.vg-who { flex: none; align-self: flex-start; border-radius: 999px; padding: .15rem .6rem; font-size: .7rem; font-weight: 800; background: #dcfce7; color: #166534; white-space: nowrap; }
.vg-who--res { background: #e0f2fe; color: #075985; }

.vg-flag { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #f1f5f9; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); }
.vg-flag img { width: 100%; height: 100%; object-fit: cover; }
.vg-flag--sm { width: 30px; height: 30px; }
.vg-flag--md { width: 44px; height: 44px; }
.vg-flag--lg { width: 60px; height: 60px; }
.vg-flag--ic { background: var(--vg-teal-l); color: var(--vg-teal); }
.vg-flag--ic .vg-i { width: 45%; height: 45%; }

/* destination cards */
.vg-dests { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.vg-dest { display: flex; flex-direction: column; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--vg-r); overflow: hidden; padding: 0; font: inherit; color: inherit;
  transition: transform .18s, box-shadow .18s; }
.vg-dest:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(24, 32, 54, .14); }
.vg-dest__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #cfe9e5, #e2e8f0); }
.vg-dest__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vg-dest:hover .vg-dest__img img { transform: scale(1.04); }
.vg-dest__img { overflow: hidden; }
.vg-dest__flag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, .2); }
.vg-dest__flag img { width: 100%; height: 100%; object-fit: cover; }
.vg-dest__b { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.vg-dest__b b { font-size: 1.05rem; font-weight: 900; }
.vg-dest__b small { color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1.5; }
.vg-dest__v { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; padding: .2rem .55rem; background: var(--vg-teal-l); color: var(--vg-teal); font-size: .74rem; font-weight: 800; }
.vg-dest__v .vg-i { width: 13px; height: 13px; }

.vg-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; background: #fff; border: 1px dashed var(--line); border-radius: var(--vg-r); color: var(--muted); text-align: center; }
.vg-empty .vg-i { width: 30px; height: 30px; }
.vg-empty b { color: var(--ink); }

/* side panel */
.vg-scrim { position: fixed; inset: 0; background: rgba(15, 23, 42, .4); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.vg-panel { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(560px, 100vw); background: #fff; z-index: 61; overflow-y: auto; padding: 20px 22px 28px;
  box-shadow: -12px 0 40px rgba(15, 23, 42, .18); transform: translateX(-100%); visibility: hidden; transition: transform .24s ease, visibility .24s; display: flex; flex-direction: column; gap: 14px; }
.vg-panel--wide { width: min(780px, 100vw); padding-top: 0; }
.vg-panel > * { flex-shrink: 0; }
[dir="ltr"] .vg-panel { transform: translateX(100%); }
.vg.is-panel .vg-scrim { opacity: 1; pointer-events: auto; }
.vg.is-panel .vg-panel { transform: none; visibility: visible; }
.vg-ph { display: flex; align-items: flex-start; gap: 14px; }
.vg-ph__n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vg-ph__n small { color: var(--muted); font-weight: 800; font-size: .8rem; }
.vg-ph__n h3 { font-size: 1.25rem; font-weight: 900; line-height: 1.35; }
.vg-ph__a { display: flex; gap: 6px; flex: none; }
.vg-ib { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: #475569; transition: border-color .18s, color .18s, background .18s; }
.vg-ib:hover { border-color: var(--vg-teal); color: var(--vg-teal); }
.vg-ib--del:hover { border-color: var(--red); color: var(--red); background: #fef2f2; }
.vg-lead { color: #475569; font-weight: 600; font-size: .9rem; }
.vg-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--vg-teal); border-color: var(--vg-teal); }
.vg-copy:hover { background: #096a60; }
.vg-sec { display: flex; flex-direction: column; gap: 10px; }
.vg-sec h4 { display: flex; align-items: center; gap: 7px; font-size: .95rem; font-weight: 900; }
.vg-sec h4 .vg-i { color: var(--vg-teal); }
.vg-sec h4 small { color: var(--muted); font-weight: 700; font-size: .74rem; margin-inline-start: auto; }
.vg-tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .86rem; }
.vg-tbl th { background: #f6f8fb; text-align: start; padding: .55rem .8rem; font-weight: 800; color: var(--muted); font-size: .76rem; }
.vg-tbl td { padding: .6rem .8rem; border-top: 1px solid var(--line); font-weight: 700; }
.vg-num { font-weight: 900; color: var(--vg-teal); white-space: nowrap; }
.vg-net { color: #9a3412; }
.vg-hint { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.vg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.vg-facts > div { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fbfcfd; }
.vg-facts .vg-i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--vg-teal-l); color: var(--vg-teal); }
.vg-facts span { display: flex; flex-direction: column; line-height: 1.4; }
.vg-facts small { color: var(--muted); font-weight: 700; font-size: .74rem; }
.vg-facts b { font-size: .88rem; }
.vg-req { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.vg-req label { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .88rem; font-weight: 600; line-height: 1.7; transition: background .18s, border-color .18s; }
.vg-req label:hover { border-color: #b7e0da; }
.vg-req input { position: absolute; opacity: 0; pointer-events: none; }
.vg-req__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1f5f9; color: #475569; font-weight: 900; font-size: .78rem; margin-top: 1px; transition: background .18s, color .18s; }
.vg-req input:checked ~ .vg-req__n { background: var(--green); color: #fff; }
.vg-req input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: #94a3b8; }
.vg-req label:has(input:checked) { background: #f0fdf4; border-color: #bbf7d0; }
.vg-req input:focus-visible ~ .vg-req__n { outline: 2px solid var(--vg-teal); outline-offset: 2px; }
.vg-prog { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .82rem; color: var(--vg-teal); }
.vg-prog.is-done { color: var(--green); }
.vg-sec--warn { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; }
.vg-sec--warn h4 .vg-i { color: #b45309; }
.vg-notes { padding-inline-start: 18px; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; font-weight: 600; color: #78350f; }
.vg-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-d); font-weight: 800; font-size: .86rem; text-decoration: none; }
.vg-link:hover { text-decoration: underline; }
.vg-cross { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font: inherit; color: inherit; transition: border-color .18s, background .18s; }
.vg-cross:hover { border-color: var(--vg-teal); background: #f7fcfb; }
.vg-cross > .vg-i:first-child { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--vg-teal-l); color: var(--vg-teal); }
.vg-cross > span:not(.vg-flag) { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.vg-cross small { color: var(--muted); font-weight: 700; font-size: .74rem; }
.vg-cross b { font-size: .9rem; }
.vg-cross__a { color: var(--muted); transform: scaleX(-1); }
.vg-upd { color: var(--muted); font-size: .74rem; font-weight: 600; margin-top: auto; }

/* destination reader */
.vg-dh { position: relative; margin-inline: -22px; min-height: 120px; background: linear-gradient(135deg, var(--vg-teal), #075048); }
.vg-dh img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.vg-dh__o { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 22px; color: #fff;
  background: linear-gradient(to top, rgba(2, 6, 23, .78), rgba(2, 6, 23, .05) 60%); }
.vg-dh__o .vg-ph__a { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; }
.vg-dh__o .vg-ib { background: rgba(255, 255, 255, .92); border-color: transparent; }
.vg-dh h3 { font-size: 1.6rem; font-weight: 900; line-height: 1.3; }
.vg-dh p { color: #e2e8f0; font-weight: 600; font-size: .9rem; }
.vg-toc { display: flex; flex-wrap: wrap; gap: 6px; position: sticky; top: -1px; z-index: 1; background: #fff; padding: 8px 0; border-bottom: 1px solid var(--line); }
.vg-toc button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .25rem .7rem; font-size: .76rem; font-weight: 800; color: #334155; transition: border-color .18s, color .18s; }
.vg-toc button:hover { border-color: var(--vg-teal); color: var(--vg-teal); }
.vg-article { font-size: .95rem; line-height: 1.85; color: #1f2937; }
.vg-article h3 { scroll-margin-top: 56px; font-size: 1.12rem; font-weight: 900; color: var(--vg-teal); margin: 1.4em 0 .4em; padding-bottom: 6px; border-bottom: 2px solid var(--vg-teal-l); }
.vg-article h4 { font-size: .98rem; font-weight: 900; margin: 1em 0 .3em; color: #0f172a; }
.vg-article p { margin: .35em 0; }
.vg-article ul, .vg-article ol { padding-inline-start: 22px; margin: .4em 0; display: flex; flex-direction: column; gap: 3px; }
.vg-article li::marker { color: var(--vg-teal); }
.vg-article strong { font-weight: 800; color: #0f172a; }
.vg-article a { color: var(--blue-d); font-weight: 700; overflow-wrap: anywhere; }

/* forms */
.vgf { display: flex; flex-direction: column; gap: 12px; }
.vgf-f { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 800; color: #334155; }
.vgf-f small { color: var(--muted); font-weight: 700; }
.vgf-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.vgf-row { display: flex; gap: 6px; align-items: center; }
.vgf-row .in:first-child { flex: 1; min-width: 0; }
.vgf-n { width: 110px; flex: none; }
.vgf-cur { width: 82px; flex: none; }
.vgf-row .vg-ib { width: 34px; height: 34px; flex: none; }
.vgf-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; }
.vgf-photo { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; color: var(--muted); font-weight: 800; transition: border-color .18s; }
.vgf-photo:hover { border-color: var(--vg-teal); color: var(--vg-teal); }
.vgf-photo img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.vgf-photo .vg-i { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .vg-hero { padding: 14px; }
  .vg-hero p { display: none; }
  .vg-seg { width: 100%; }
  .vg-seg button { flex: 1; justify-content: center; }
  .vg-search { width: 100%; }
  .vg-add { width: 100%; justify-content: center; }
  .vg-panel { padding: 16px 14px 24px; }
  .vg-dh { margin-inline: -14px; }
  .vg-dh__o { padding: 14px; }
  .vg-dh h3 { font-size: 1.3rem; }
  .vgf-2 { grid-template-columns: 1fr; }
  .vgf-row { flex-wrap: wrap; }
  .vgf-row .in:first-child { flex-basis: 100%; }
  .vgf-n { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .vg-card, .vg-dest, .vg-dest__img img, .vg-panel, .vg-scrim { transition: none; } }
