/* ═══════════════════════════════════════════════════
   Nicaragua Visa Portal — style.css
   Fonts: Playfair Display (headings) + DM Sans (body)
═══════════════════════════════════════════════════ */

:root {
  --blue:       #1a4da8;
  --blue-mid:   #2563eb;
  --blue-light: #e8f0fe;
  --blue-dark:  #0f3380;
  --red:        #c0392b;
  --red-light:  #fdecea;
  --gold:       #c9a84c;
  --bg:         #f7f8fc;
  --surface:    #ffffff;
  --border:     #e2e8f0;
  --text:       #0f172a;
  --muted:      #64748b;
  --radius:     12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; }

/* ── NAVBAR ─────────────────────────────────────── */
.nic-nav { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav-top-bar { background: var(--blue-dark); color: rgba(255,255,255,.8); font-size: 12px; padding: 6px 0; }
.nav-top-bar .container-xl { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.nav-main { padding: 14px 0; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-flag {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-title { display: block; font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); line-height: 1.1; }
.brand-sub { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-links a { display: flex; align-items: center; padding: 7px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: all .15s; }
.nav-links a:hover, .nav-links a.active { background: var(--blue-light); color: var(--blue-mid); }
.navbar-toggler-nic { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 1.2rem; cursor: pointer; color: var(--text); }
@media (max-width: 767px) {
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-main .container-xl { flex-wrap: wrap; gap: 10px; }
}

.discover-section {
  background: #fff;
}

.discover-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.discover-section h3 {
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.discover-section p {
  color: var(--muted);
  line-height: 1.8;
}

.discover-section ul {
  padding-left: 1rem;
}

.discover-section li {
  margin-bottom: .5rem;
  color: var(--text);
}

.seo-section {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.seo-content {
  max-width: 1000px;
  margin: 0 auto;
}

.seo-content h2 {
  color: var(--blue-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.seo-content h3 {
  color: var(--blue-mid);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.seo-content p,
.seo-content li {
  color: var(--muted);
  line-height: 1.8;
}

.seo-content ul {
  padding-left: 1.25rem;
}

/* ── HERO ───────────────────────────────────────── */
.hero-section { position: relative; background: linear-gradient(135deg, #0c2a6b 0%, #1a4da8 50%, #1e5ec2 100%); padding: 80px 0 60px; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.min-vh-hero { min-height: 70vh; }
.hero-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.25); margin-bottom: 20px; letter-spacing: .04em; text-transform: uppercase; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero-highlight { color: #ffd166; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-hero-primary { background: #ffd166; color: #0c2a6b; font-weight: 700; border: none; padding: 13px 28px; border-radius: 10px; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; transition: all .2s; }
.btn-hero-primary:hover { background: #f5c842; color: #0c2a6b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-hero-outline { background: transparent; color: #fff; font-weight: 600; border: 1.5px solid rgba(255,255,255,.5); padding: 12px 26px; border-radius: 10px; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; transition: all .2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.75); }

/* Hero float card */
.hero-card-float { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 36px; text-align: center; color: #fff; max-width: 320px; }
.hcf-flag { font-size: 3.5rem; margin-bottom: 12px; }
.hcf-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; }
.hcf-sub { font-size: 12px; opacity: .7; margin-top: 4px; }
.hcf-divider { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 20px 0; }
.hcf-stats { display: flex; justify-content: space-around; }
.hcf-num { display: block; font-family: 'DM Mono', monospace; font-size: 1.4rem; font-weight: 700; color: #ffd166; }
.hcf-label { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }

/* ── QUICK CHECK ─────────────────────────────────── */
.quick-check-section { padding: 0; margin-top: -28px; position: relative; z-index: 10; }
.quick-check-card { background: #fff; border-radius: 16px; padding: 24px 28px; box-shadow: 0 8px 32px rgba(0,0,0,.12); border: 1px solid var(--border); }
.qc-label { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.qc-sub { font-size: 12px; color: var(--muted); }

/* ── STATS ──────────────────────────────────────── */
.stats-section { padding: 40px 0; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.stat-icon { width: 48px; height: 48px; background: var(--blue-light); color: var(--blue-mid); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 12px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* ── SECTIONS ───────────────────────────────────── */
.section-padded { padding: 60px 0; }
.section-head { margin-bottom: 40px; }
.section-badge { display: inline-block; background: var(--blue-light); color: var(--blue-mid); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--text); }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; margin: 10px auto 0; }

/* ── VISA CARDS ─────────────────────────────────── */
.visa-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: 100%; transition: all .2s; }
.visa-card:hover { border-color: var(--blue-mid); box-shadow: 0 8px 24px rgba(37,99,235,.1); transform: translateY(-3px); }
.vc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.vc-icon { width: 44px; height: 44px; background: var(--blue-light); color: var(--blue-mid); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.vc-name { font-weight: 700; font-size: 15px; color: var(--text); }
.vc-duration { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vc-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.vc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.vc-fee { font-family: 'DM Mono', monospace; font-size: 1.1rem; font-weight: 700; color: var(--blue-mid); }
.vc-proc { font-size: 12px; color: var(--muted); }

/* ── HOW IT WORKS ───────────────────────────────── */
.how-section { padding: 60px 0; background: #fff; }
.how-step { padding: 20px; }
.how-num { font-family: 'DM Mono', monospace; font-size: 2.5rem; font-weight: 700; color: var(--blue-light); line-height: 1; margin-bottom: 12px; }
.how-icon { width: 56px; height: 56px; background: var(--blue-light); color: var(--blue-mid); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 14px; }
.how-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.how-desc { font-size: 13.5px; color: var(--muted); }

/* ── TRACK CTA ──────────────────────────────────── */
.track-cta-section { padding: 70px 0; background: linear-gradient(135deg, #0c2a6b, #1a4da8); }
.track-cta-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.track-cta-sub { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 28px; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-nic-primary { background: var(--blue-mid); color: #fff; font-weight: 600; border: none; padding: 10px 24px; border-radius: 9px; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; transition: all .2s; }
.btn-nic-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-nic-outline { background: transparent; color: var(--blue-mid); font-weight: 600; border: 1.5px solid var(--blue-mid); padding: 9px 22px; border-radius: 9px; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; transition: all .2s; }
.btn-nic-outline:hover { background: var(--blue-light); }

/* ── PAGE HERO SM ───────────────────────────────── */
.page-hero-sm { background: linear-gradient(120deg, #0c2a6b, #1a4da8); padding: 50px 0 40px; }
.page-hero-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 10px; }
.page-hero-sub { color: rgba(255,255,255,.75); font-size: 1rem; }

/* ── NIC CARD ───────────────────────────────────── */
.nic-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.nic-card-header { padding: 16px 22px; background: var(--bg); border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--text); display: flex; align-items: center; }
.nic-card-body { padding: 22px; }

/* ── FORM ───────────────────────────────────────── */
.form-label-nic { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; display: block; }
.form-nic { height: 42px; border-color: var(--border); border-radius: 9px; font-size: 14px; font-family: 'DM Sans', sans-serif; transition: border-color .15s, box-shadow .15s; }
.form-nic:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none; }
.form-select.form-nic { height: 42px; }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.form-section-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-mid); padding: 12px 0 6px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.declaration-box { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 14px 16px; font-size: 13.5px; color: var(--muted); }

/* ── ALERTS ─────────────────────────────────────── */
.alert-nic { border-radius: 9px; padding: 14px 18px; font-size: 14px; border: 1px solid; }
.alert-danger { background: var(--red-light); border-color: #fca5a5; color: #991b1b; }
.info-tip { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 9px; padding: 12px 16px; font-size: 13.5px; color: #92400e; }
.info-tip code { background: rgba(0,0,0,.08); padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* ── VISA CHECK RESULTS ─────────────────────────── */
.vc-result-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.vcr-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.vcr-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.vcr-icon.visa-free { background: #d1fae5; color: #065f46; }
.vcr-icon.visa-required { background: #fee2e2; color: #991b1b; }
.vcr-status { font-weight: 800; font-size: 1rem; }
.vcr-status.visa-free { color: #065f46; }
.vcr-status.visa-required { color: #991b1b; }
.vcr-msg { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.vcr-detail { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; color: #166534; }
.vcr-info-box { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 12px; text-align: center; }
.vcr-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.vcr-info-val { font-weight: 700; font-size: 14px; color: var(--text); margin-top: 4px; }
.vcr-req-title { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 10px; }
.vcr-req-list { display: flex; flex-direction: column; gap: 6px; }
.vcr-req-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.vcr-req-item i { color: #059669; font-size: 15px; flex-shrink: 0; }

/* Quick reference tags */
.qr-group-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.qr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.tag-green { background: #d1fae5; color: #065f46; }
.tag-red { background: #fee2e2; color: #991b1b; }

/* ── TRACK STATUS ───────────────────────────────── */
.track-status-bar { display: flex; align-items: center; }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ts-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .3s; }
.track-step.done .ts-dot { background: var(--blue-mid); color: #fff; }
.track-step.approved .ts-dot { background: #059669; color: #fff; }
.track-step.rejected .ts-dot { background: var(--red); color: #fff; }
.ts-label { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.track-line { flex: 1; height: 2px; background: var(--border); margin: 0 6px; margin-bottom: 22px; transition: background .3s; }
.track-line.done { background: var(--blue-mid); }
.ref-badge { background: var(--blue-light); color: var(--blue-mid); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; font-family: 'DM Mono', monospace; }

/* ── SUMMARY TABLE ──────────────────────────────── */
.summary-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.summary-table tr { border-bottom: 1px solid var(--border); }
.summary-table tr:last-child { border-bottom: none; }
.summary-table td { padding: 10px 0; }
.summary-table td:first-child { color: var(--muted); width: 40%; font-weight: 500; }

/* Status pills */
.status-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.status-approved { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-processing { background: #fef3c7; color: #92400e; }

/* ── SUCCESS PAGE ───────────────────────────────── */
.success-anim { margin-bottom: 24px; margin-top: 40px; }
.success-circle { width: 80px; height: 80px; background: #d1fae5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #059669; margin: 0 auto; animation: popIn .4s ease; }
@keyframes popIn { 0%{transform:scale(0)} 80%{transform:scale(1.1)} 100%{transform:scale(1)} }
.success-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.success-sub { color: var(--muted); margin-bottom: 28px; }
.ref-card { background: var(--blue-light); border: 1.5px dashed var(--blue-mid); border-radius: 12px; padding: 24px; margin-bottom: 8px; }
.ref-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-mid); }
.ref-number { font-family: 'DM Mono', monospace; font-size: 1.8rem; font-weight: 700; color: var(--blue-dark); margin: 6px 0; }
.ref-hint { font-size: 12px; color: var(--muted); }

/* ── WORK PERMIT ────────────────────────────────── */
.wp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; transition: all .2s; }
.wp-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); border-color: var(--blue-mid); }
.wp-icon { font-size: 2.2rem; flex-shrink: 0; width: 52px; text-align: center; }
.wp-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.wp-desc { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.wp-meta { display: flex; gap: 16px; font-size: 12px; color: var(--blue-mid); font-weight: 600; }

.process-steps { display: flex; flex-direction: column; gap: 16px; }
.ps-item { display: flex; gap: 14px; align-items: flex-start; }
.ps-num { width: 28px; height: 28px; background: var(--blue-light); color: var(--blue-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.ps-title { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.ps-desc { font-size: 13px; color: var(--muted); }

/* ── INFO CHECKLIST ─────────────────────────────── */
.info-checklist { display: flex; flex-direction: column; gap: 10px; }
.ic-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); }
.ic-item i { color: #059669; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── POLICY ─────────────────────────────────────── */
.policy-body { font-size: 14.5px; line-height: 1.75; }
.policy-section { margin-bottom: 28px; }
.policy-section h2 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.policy-section p, .policy-section ul { color: var(--muted); }
.policy-section ul { padding-left: 20px; }
.policy-section li { margin-bottom: 5px; }
.contact-policy { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 10px; }
.contact-policy i { color: var(--blue-mid); }
.policy-disclaimer { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 14px 18px; font-size: 13px; color: #92400e; margin-top: 20px; }

/* ── 404 ────────────────────────────────────────── */
.error-404 { padding: 80px 20px; }
.e404-code { font-family: 'Playfair Display', serif; font-size: 7rem; font-weight: 700; color: var(--blue-light); line-height: 1; }
.e404-flag { font-size: 3rem; margin: 10px 0; }
.e404-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--text); }
.e404-sub { color: var(--muted); font-size: 1rem; margin-top: 8px; }

/* ── FOOTER ─────────────────────────────────────── */
.nic-footer { background: #0c1e3d; color: rgba(255,255,255,.75); padding: 56px 0 0; margin-top: 60px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-brand-sub { font-size: 11px; opacity: .65; }
.footer-desc { font-size: 13px; line-height: 1.7; opacity: .7; }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13.5px; transition: color .15s; }
.footer-links a:hover { color: #ffd166; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-contact i { color: #ffd166; margin-right: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; margin-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; opacity: .6; }
.footer-disclaimer { font-style: italic; }

/* Quick check result */
#quickResult .qr-visa-free { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; border-radius: 9px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
#quickResult .qr-visa-req  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; border-radius: 9px; padding: 12px 16px; font-size: 14px; font-weight: 600; }




.application-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.application-header{
  display:flex;
  justify-content:space-between;
  gap:30px;
  padding:28px;
  background:linear-gradient(135deg,#0c2a6b,#1a4da8);
  color:#fff;
}

.app-id{
  font-size:13px;
  font-weight:700;
  opacity:.9;
  margin-bottom:10px;
}

.applicant-name{
  font-size:2rem;
  margin-bottom:15px;
}

.application-body{
  padding:28px;
}

.app-photo-section{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

.passport-photo{
  width:130px;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  border:4px solid rgba(255,255,255,.25);
  background:#fff;
}

.passport-placeholder{
  width:130px;
  height:160px;
  background:#fff;
  color:#1a4da8;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:50px;
}

.btn-download{
  background:#10b981;
  color:#fff;
  text-decoration:none;
  padding:10px 18px;
  border-radius:10px;
  font-weight:600;
}

.btn-download:hover{
  color:#fff;
}

.application-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}

.info-box{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
}

.info-box label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
  font-weight:700;
}

.info-box div{
  font-size:15px;
  font-weight:600;
}

.info-box-full{
  grid-column:1/-1;
}

@media(max-width:768px){

  .application-header{
    flex-direction:column;
  }

  .app-photo-section{
    width:100%;
  }

  .passport-photo,
  .passport-placeholder{
    width:110px;
    height:140px;
  }

  .applicant-name{
    font-size:1.5rem;
  }
}