:root {
  --brand: #0F766E;
  --brand-dark: #115E59;
  --brand-soft: #E6F6F4;
  --navy: #0B1F3A;
  --navy-dark: #071427;
  --ink: #142336;
  --muted: #64748B;
  --line: #E2E8F0;
  --surface: #F6F8FB;
  --success: #14804a;
  --radius-card: 1.15rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  color: #fff;
  background: #172033;
}

.brand-mark {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--brand);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.brand-accent,
.text-brand {
  color: var(--brand) !important;
}

.navbar-brand {
  color: var(--ink);
  letter-spacing: -0.03em;
}

.nav-link {
  color: #586273;
  font-weight: 550;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
}

.btn-brand {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 650;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus-visible {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 0.55rem 1.1rem rgba(15, 118, 110, 0.18);
  transform: translateY(-1px);
}

.btn-brand:active {
  color: #fff !important;
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

.btn-outline-brand {
  color: var(--brand);
  border-color: var(--brand);
  font-weight: 650;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-navy {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  font-weight: 700;
  box-shadow: 0 0.45rem 0.9rem rgba(14, 29, 83, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-navy:hover,
.btn-navy:focus-visible {
  color: #fff;
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: 0 0.6rem 1.1rem rgba(14, 29, 83, 0.23);
  transform: translateY(-1px);
}

.btn-navy:active {
  color: #fff !important;
  background: var(--navy-dark) !important;
}

.letter-spacing {
  letter-spacing: 0.12em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.display-3,
.display-4,
.display-5,
.display-6 {
  letter-spacing: -0.055em;
}

.py-lg-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.section-space {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-heading {
  max-width: 43rem;
}

.section-intro,
.page-intro {
  max-width: 42rem;
}

/* Home hero and fading image slider */
.hero-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: #10203a;
}

.hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero-background .carousel-inner,
.hero-background .carousel-item {
  height: 100%;
}

.hero-background .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.hero-background .carousel-fade .carousel-item,
.hero-background.carousel-fade .carousel-item {
  transition: opacity 1.35s ease-in-out;
}

.hero-image-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 36, 0.88) 0%, rgba(10, 24, 49, 0.78) 48%, rgba(11, 24, 49, 0.53) 100%), linear-gradient(0deg, rgba(8, 18, 40, 0.3), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-eyebrow .eyebrow-dot {
  background: #73E0D2;
  box-shadow: 0 0 0 4px rgba(115, 224, 210, 0.2);
}

.hero-section .display-3 {
  max-width: 53rem;
  font-size: clamp(2.65rem, 5.1vw, 4.6rem);
  line-height: 1.05;
}

.hero-title-accent {
  color: #7EE7D8;
}

.hero-description {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.btn-hero-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  font-weight: 650;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus-visible {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.hero-trust {
  color: rgba(255, 255, 255, 0.86);
  gap: 1.25rem !important;
}

.hero-trust i {
  color: #7EE7D8;
}

.hero-search-card {
  overflow: hidden;
  border-radius: 1.35rem;
  color: var(--ink);
}

.verification-icon,
.visa-panel-icon,
.step-icon,
.section-icon,
.stat-icon,
.value-icon,
.feature-check,
.feature-illustration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
}

.verification-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  font-size: 1.55rem;
}

.form-label {
  color: #253044;
  font-size: 0.88rem;
  font-weight: 650;
}

.form-control,
.form-select,
.input-group-text {
  border-color: #dfe3e9;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 118, 110, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.12);
}

.form-control::placeholder {
  color: #a1a9b6;
}

.input-group-text {
  color: #8a94a4;
}

.hero-search-card .form-control,
.hero-search-card .btn-light {
  min-height: 3.25rem;
}

.hero-slider-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 1.15rem;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hero-slider-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.58);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-slider-dots button.active {
  width: 1.7rem;
  border-radius: 1rem;
  background: #40BDB0;
}

.value-strip {
  position: relative;
  z-index: 3;
}

.value-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  font-size: 1.35rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 0.4rem 1.4rem rgba(23, 32, 51, 0.025);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #B6DED9;
  box-shadow: 0 1rem 2rem rgba(26, 33, 47, 0.07);
}

.step-number {
  position: absolute;
  top: 1.15rem;
  right: 1.35rem;
  color: #eceef2;
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1;
}

.step-icon {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
  font-size: 1.5rem;
}

.world-section {
  background: #f0f3f8;
}

.destination-card {
  position: relative;
  display: flex;
  min-height: 265px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: 1.1rem;
  background-color: #243a56;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.08) 0%, rgba(8, 18, 40, 0.83) 100%);
  content: "";
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(17, 29, 55, 0.16);
}

.destination-japan {
  background-image: url("https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?auto=format&fit=crop&w=800&q=80");
}

.destination-europe {
  background-image: url("https://images.unsplash.com/photo-1499856871958-5b9627545d1a?auto=format&fit=crop&w=800&q=80");
}

.destination-americas {
  background-image: url("https://images.unsplash.com/photo-1518391846015-55a9cc003b25?auto=format&fit=crop&w=800&q=80");
}

.destination-world {
  background-image: url("https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=800&q=80");
}

.destination-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50rem;
  color: #fff;
  background: rgba(8, 18, 40, 0.28);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.feature-illustration {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 15% 12%, rgba(15, 118, 110, 0.18), transparent 33%), linear-gradient(140deg, #E9F7F5, #eaf0fa);
}

.feature-illustration-card {
  z-index: 2;
  width: min(100%, 25rem);
  border-radius: 1.15rem;
}

.feature-illustration-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.4rem;
}

.placeholder-line {
  height: 0.65rem;
  border-radius: 1rem;
  background: #edf0f5;
}

.feature-orbit {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 50%;
}

.feature-orbit-one {
  top: -2rem;
  right: -1.5rem;
}

.feature-orbit-two {
  bottom: -3.3rem;
  left: -1rem;
  width: 11rem;
  height: 11rem;
}

.feature-check {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1rem;
}

.cta-panel {
  overflow: hidden;
  background: linear-gradient(115deg, #0B1F3A 0%, #0F766E 100%);
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.16);
}

.notice-panel {
  border: 1px solid #D7E7E5;
  background: #F5FBFA;
}

.notice-panel p {
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  color: var(--ink);
}

/* Visa check page - based on the supplied two-panel reference */
.visa-check-main {
  min-height: calc(100vh - 180px);
  background-color: #f7f8fb;
  background-image: linear-gradient(45deg, rgba(14, 29, 83, 0.025) 25%, transparent 25%), linear-gradient(-45deg, rgba(14, 29, 83, 0.025) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(14, 29, 83, 0.025) 75%), linear-gradient(-45deg, transparent 75%, rgba(14, 29, 83, 0.025) 75%);
  background-size: 22px 22px;
}

.visa-check-intro p {
  max-width: 43rem;
  margin-right: auto;
  margin-left: auto;
}

.visa-check-layout > div {
  display: flex;
}

.visa-search-panel,
.applicant-result-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dfe5ee;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.65rem 1.7rem rgba(13, 27, 61, 0.07);
}

.visa-search-panel .card-body {
  padding-top: 2.1rem !important;
  padding-bottom: 2.1rem !important;
}

.visa-panel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.3rem;
}

.visa-search-panel .form-label {
  margin-bottom: 0.55rem;
  color: #101d3b;
  font-weight: 700;
}

.visa-field {
  min-width: 0;
  min-height: 3.15rem;
  border-color: transparent;
  background: #f0f3f8;
  font-size: 0.95rem;
}

.visa-field:focus {
  border-color: rgba(14, 29, 83, 0.28);
  background: #fff;
  box-shadow: 0 0 0 0.22rem rgba(14, 29, 83, 0.08);
}

.visa-clear-button {
  color: #536078;
  border-color: transparent;
  background: #f0f3f8;
}

.visa-clear-button:hover,
.visa-clear-button:focus-visible {
  color: var(--navy);
  border-color: transparent;
  background: #e5eaf2;
}

.visa-verify-button {
  width: min(100%, 9rem);
  min-height: 2.9rem;
  margin: 0 auto;
  border-radius: 50rem;
}

.applicant-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  color: #fff;
  background: var(--navy);
}

.applicant-result-panel .card-body {
  padding: 1.4rem;
}

.result-stat-box {
  display: flex;
  min-height: 4.2rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #bdcce6;
  border-radius: 0.9rem;
  background: #fff;
}

.result-stat-label {
  color: #657390;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.result-stat-value {
  color: var(--navy);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.result-stat-value.status-approved {
  color: #16804a;
}

.result-stat-value.status-rejected {
  color: #bf2d21;
}

.result-stat-value.status-pending,
.result-stat-value.status-under-review,
.result-stat-value.status-additional-documents-required {
  color: #a46b0b;
}

.applicant-detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.83rem 0;
  border-bottom: 1px solid #e1e6ef;
  font-size: 0.88rem;
}

.applicant-detail-row:last-of-type {
  border-bottom: 0;
}

.applicant-detail-row span {
  color: #66738f;
}

.applicant-detail-row strong {
  color: var(--navy);
  text-align: right;
  overflow-wrap: anywhere;
}

.visa-result-message {
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  color: #66738f;
  background: #f6f8fb;
  font-size: 0.8rem;
  line-height: 1.55;
}

.visa-result-message.is-success {
  color: #126f41;
  background: #e9f7ef;
}

.visa-result-message.is-error {
  color: #9e2c22;
  background: #fff0ee;
}

/* Admin dashboard */
.admin-page {
  background: #f5f7fb;
}

.admin-main {
  min-height: calc(100vh - 180px);
}

.admin-page-heading {
  border-bottom: 1px solid #e8ebf1;
  padding-bottom: 1.5rem;
}

.admin-demo-alert {
  border: 1px solid #f2d99b;
  border-radius: 0.9rem;
  padding: 1.1rem 1.25rem;
}

.admin-alert-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0.8rem;
  color: #815b0b;
  background: rgba(255, 193, 7, 0.18);
  font-size: 1.25rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.25rem 0.8rem rgba(23, 32, 51, 0.025);
}

.stat-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  font-size: 1.25rem;
}

.stat-icon-green {
  color: #168354;
  background: #e6f7ef;
}

.stat-icon-blue {
  color: #2468bd;
  background: #eaf2ff;
}

.stat-icon-red {
  color: #b42318;
  background: #ffebe9;
}

.stat-mini-label {
  color: #9aa2b0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admin-form-card,
.admin-records-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.3rem 1rem rgba(23, 32, 51, 0.03);
}

.admin-form-card .card-header,
.admin-records-card .card-header {
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}

.admin-form-card .card-header {
  padding-bottom: 1.15rem !important;
}

.admin-form-card .form-control,
.admin-form-card .form-select {
  min-height: 2.85rem;
  border-radius: 0.65rem;
  background-color: #fff;
  font-size: 0.9rem;
}

.admin-form-card textarea.form-control {
  min-height: auto;
}

.admin-form-card .form-text {
  font-size: 0.74rem;
}

.section-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  font-size: 1.25rem;
}

.admin-form-section + .admin-form-section {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid #edf0f4;
}

.admin-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: #273146;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-form-step {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.74rem;
}

.admin-search {
  min-width: min(100%, 16rem);
}

.record-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.record-toolbar .input-group {
  min-width: 15rem;
  flex: 1 1 15rem;
}

.record-toolbar .form-select {
  width: auto;
  min-width: 10.5rem;
  flex: 0 1 11rem;
  font-size: 0.875rem;
}

.admin-table thead th {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  color: #737e92;
  background: #f8f9fb;
  border-bottom-color: var(--line);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.admin-table tbody td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom-color: #edf0f4;
  font-size: 0.82rem;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.reference-text {
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.applicant-text {
  display: block;
  max-width: 14rem;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-preview {
  color: #4d5970;
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  border-radius: 50rem;
  font-size: 0.7rem;
  font-weight: 750;
  white-space: normal;
}

.status-approved {
  color: #16764b;
  background: #e6f7ef;
}

.status-rejected {
  color: #b42318;
  background: #ffebe9;
}

.status-pending,
.status-under-review,
.status-additional-documents-required {
  color: #9a5b06;
  background: #fff4d6;
}

.record-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
}

.record-actions .btn {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.45rem;
}

.empty-state {
  padding: 2.5rem 1rem !important;
  color: var(--muted);
  text-align: center;
}

.empty-state i {
  display: block;
  margin-bottom: 0.75rem;
  color: #b8bfca;
  font-size: 2rem;
}

.admin-help-card,
.admin-side-note {
  border: 1px solid #e7ebf2;
  background: #fff;
}

.admin-help-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #976a12;
  background: #fff5d9;
  font-size: 1.25rem;
}

.admin-side-note {
  background: #fff;
}

@media (min-width: 1200px) {
  .hero-section {
    min-height: 660px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 0;
  }

  .hero-section .container {
    padding-bottom: 4.5rem;
  }

  .hero-section .display-3 {
    font-size: clamp(2.5rem, 7.5vw, 4rem);
  }

  .section-space {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .destination-card {
    min-height: 230px;
  }
}

@media (max-width: 767.98px) {
  .hero-trust {
    gap: 0.75rem !important;
  }

  .hero-search-card .card-body {
    padding: 1.5rem !important;
  }

  .value-strip .col-md-4 + .col-md-4 {
    margin-top: 0.5rem;
  }

  .destination-card {
    min-height: 210px;
    padding: 1rem;
  }

  .destination-card .h4 {
    font-size: 1.05rem;
  }

  .feature-illustration {
    min-height: 310px;
  }

  .applicant-result-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .record-toolbar {
    width: 100%;
  }

  .record-toolbar .input-group,
  .record-toolbar .form-select {
    width: 100%;
    min-width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 575.98px) {
  .display-5 {
    font-size: 2.2rem;
  }

  .display-6 {
    font-size: 2rem;
  }

  .hero-section .display-3 {
    font-size: 2.7rem;
  }

  .hero-section .container {
    padding-top: 3.25rem !important;
  }

  .hero-search-card {
    border-radius: 1rem;
  }

  .section-space {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .destination-card {
    min-height: 190px;
  }

  .destination-card .h4 {
    font-size: 0.95rem;
  }

  .destination-card .small {
    font-size: 0.68rem !important;
  }

  .applicant-result-panel .card-body {
    padding: 1rem !important;
  }

  .applicant-detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .applicant-detail-row strong {
    text-align: left;
  }

  .admin-page-heading .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.result-stat-value.status-approved,
.result-stat-value.status-rejected,
.result-stat-value.status-pending,
.result-stat-value.status-under-review,
.result-stat-value.status-additional-documents-required {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.96rem;
  font-weight: 800;
}


/* Premium World Visa Check design layer: restrained navy + teal, Manrope, and consistent 16px interface text. */
.site-navbar {
  box-shadow: 0 0.35rem 1.2rem rgba(11, 31, 58, 0.035);
}

.topbar {
  font-size: 16px;
  background: #0B1F3A;
}

.brand-mark {
  background: var(--brand);
  border-radius: 0.85rem;
  box-shadow: 0 0.45rem 1rem rgba(15, 118, 110, 0.22);
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.btn-brand {
  box-shadow: 0 0.35rem 0.9rem rgba(15, 118, 110, 0.16);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  box-shadow: 0 0.55rem 1.1rem rgba(15, 118, 110, 0.22);
}

.hero-section {
  min-height: 700px;
  background: #071427;
}

.hero-background .carousel-item img {
  transform: scale(1.025);
  animation: hero-image-settle 4.2s ease-out both;
}

@keyframes hero-image-settle {
  from { transform: scale(1.065); }
  to { transform: scale(1.025); }
}

.hero-background.carousel-fade .carousel-item {
  transition: opacity 0.9s ease-in-out;
}

.hero-image-overlay {
  background: linear-gradient(90deg, rgba(5, 17, 35, 0.91) 0%, rgba(7, 25, 48, 0.82) 46%, rgba(7, 25, 48, 0.58) 100%), linear-gradient(0deg, rgba(7, 20, 39, 0.3), transparent 52%);
}

.hero-title-accent {
  color: #7EE7D8;
}

.hero-eyebrow .eyebrow-dot {
  background: #7EE7D8;
  box-shadow: 0 0 0 4px rgba(126, 231, 216, 0.2);
}

.hero-trust i {
  color: #7EE7D8;
}

.hero-portal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.24) !important;
}

.portal-kicker {
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.portal-preview-panel {
  border: 1px solid #DCEBE9;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #FFFFFF 0%, #F5FBFA 100%);
}

.portal-preview-emblem,
.journey-icon,
.clarity-icon {
  display: inline-flex;
  width: 3.15rem;
  height: 3.15rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 1rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.4rem;
}

.portal-preview-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #718096;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border: 1px solid #CFEAE5;
  border-radius: 50rem;
  color: #115E59;
  background: #E6F6F4;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.portal-preview-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.portal-preview-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid #DCE5EF;
  border-radius: 0.8rem;
  background: #fff;
}

.portal-preview-stat span {
  color: #697A90;
  font-size: 16px;
}

.portal-preview-stat strong {
  color: var(--navy);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.portal-preview-stat strong i {
  color: var(--brand);
}

.portal-preview-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E6ECF2;
  font-size: 16px;
}

.portal-preview-row:last-of-type {
  border-bottom: 0;
}

.portal-preview-row span {
  color: #697A90;
}

.portal-preview-row strong {
  color: var(--navy);
  text-align: right;
}

.portal-security-note {
  color: #607186;
  font-size: 16px;
}

.portal-security-note i {
  color: var(--brand);
}

.journey-card,
.clarity-card {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.6rem rgba(11, 31, 58, 0.035);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.journey-card:hover,
.clarity-card:hover {
  transform: translateY(-4px);
  border-color: #B6DED9;
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.075);
}

.journey-icon,
.clarity-icon {
  width: 3.4rem;
  height: 3.4rem;
  font-size: 1.55rem;
}

.readiness-section {
  background: linear-gradient(135deg, #F2F8F8 0%, #F7F9FC 100%);
}

.readiness-card {
  border: 1px solid #DCE7EB;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0.9rem 2.5rem rgba(11, 31, 58, 0.055);
}

.readiness-check {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: #0F766E;
  background: #E6F6F4;
  font-size: 1.1rem;
}

.transparency-panel {
  border: 1px solid #D6E7E5;
  background: linear-gradient(120deg, #FFFFFF 0%, #EDF8F7 100%);
  box-shadow: 0 0.75rem 2rem rgba(11, 31, 58, 0.035);
}

.site-footer {
  color: #D5DFEA;
  border-top: 0;
  background: #0B1F3A;
}

.footer-brand {
  color: #FFFFFF;
  font-size: 1.12rem;
}

.footer-brand:hover {
  color: #FFFFFF;
}

.site-footer .brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  color: #FFFFFF;
  background: #0F766E;
}

.site-footer .brand-accent {
  color: #7EE7D8 !important;
}

.footer-description {
  max-width: 26rem;
  color: #AEBFD1;
  line-height: 1.85;
}

.footer-demo-label {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50rem;
  color: #DBE8F1;
  background: rgba(255, 255, 255, 0.055);
  font-size: 16px;
}

.footer-demo-label i {
  color: #7EE7D8;
}

.footer-heading {
  margin-bottom: 1.1rem;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
}

.footer-links li + li {
  margin-top: 0.7rem;
}

.footer-links a {
  color: #B6C5D5;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #7EE7D8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #AEBFD1;
  font-size: 16px;
}

/* 16px is the default interface size; display headings retain hierarchy for readability. */
body {
  font-size: 16px;
}

.small,
small,
.form-text,
.form-label,
.nav-link,
.btn,
.eyebrow,
.hero-eyebrow,
.destination-tag,
.result-stat-label,
.stat-mini-label,
.admin-form-section-title,
.admin-table thead th,
.admin-table tbody td,
.reference-text,
.applicant-text,
.passport-preview,
.status-pill,
.applicant-detail-row,
.visa-result-message,
.admin-form-card .form-control,
.admin-form-card .form-select,
.visa-search-panel .form-control {
  font-size: 16px !important;
}

.section-space {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 0;
  }

  .hero-portal-card {
    max-width: 42rem;
  }

  .site-footer .footer-description {
    max-width: 38rem;
  }
}

@media (max-width: 575.98px) {
  .portal-preview-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .portal-preview-row strong {
    text-align: left;
  }

  .portal-preview-stat-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-demo-label {
    align-items: flex-start;
    border-radius: 0.8rem;
  }
}


/* Homepage additions: compact hero preview, status guidance, responsible-use principles and next steps. */
.hero-portal-card .card-body {
  padding: 1.35rem !important;
}

.hero-portal-card .portal-preview-panel {
  padding: 0.85rem !important;
  border-radius: 0.95rem;
}

.hero-portal-card .portal-preview-emblem {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.hero-portal-card .portal-preview-stat {
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
}

.hero-portal-card .portal-preview-row-compact {
  padding: 0.48rem 0;
}

.hero-portal-card .portal-preview-label,
.hero-portal-card .portal-kicker {
  letter-spacing: 0.06em;
}

.hero-portal-card .btn-brand {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.status-guide-card,
.launch-principle-card,
.next-step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.6rem rgba(11, 31, 58, 0.035);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.status-guide-card:hover,
.launch-principle-card:hover,
.next-step-card:hover {
  transform: translateY(-4px);
  border-color: #B6DED9;
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.075);
}

.status-guide-icon,
.launch-principle-icon,
.next-step-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.35rem;
}

.status-approved { color: #147849; background: #E9F8EF; }
.status-pending { color: #936000; background: #FFF5DB; }
.status-review { color: #2558A6; background: #ECF3FF; }
.status-action { color: #9A4D14; background: #FFF0E5; }
.status-rejected { color: #B42318; background: #FFF0EF; }

.launch-readiness-section {
  background: linear-gradient(140deg, #F0F8F7 0%, #F7F9FC 58%, #EEF3FA 100%);
}

.launch-note {
  color: #35506B;
  border: 1px solid #D3E3E6;
  background: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.launch-note i { color: var(--brand); }

.next-step-number {
  position: absolute;
  top: 1.15rem;
  right: 1.35rem;
  color: #D9E6E8;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.next-step-card .next-step-icon {
  width: 3.25rem;
  height: 3.25rem;
}

@media (min-width: 992px) {
  .hero-portal-card .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-portal-card .portal-status-pill {
    font-size: 0.875rem !important;
  }

  .hero-portal-card .portal-preview-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Final visual refinement: brighter destination photography and a more considered type scale. */
body {
  font-size: 15px;
}

/* Let the photography lead while keeping the hero copy comfortably legible. */
.hero-section {
  min-height: 670px;
}

.hero-background .carousel-item img {
  object-fit: cover;
  filter: saturate(1.1) contrast(1.035) brightness(1.07);
  transform: scale(1.015);
  animation: hero-image-settle 3.35s ease-out both;
  will-change: transform, filter;
}

.hero-background .carousel-item:nth-child(1) img { object-position: 52% 46%; }
.hero-background .carousel-item:nth-child(2) img { object-position: 52% 46%; }
.hero-background .carousel-item:nth-child(3) img { object-position: 50% 44%; }
.hero-background .carousel-item:nth-child(4) img { object-position: 50% 48%; }
.hero-background .carousel-item:nth-child(5) img { object-position: 50% 46%; }

.hero-image-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 35, 0.74) 0%, rgba(7, 25, 48, 0.55) 40%, rgba(7, 25, 48, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 20, 39, 0.17) 0%, transparent 55%);
}

.hero-section .display-3 {
  font-size: clamp(2.45rem, 4.35vw, 3.95rem);
  line-height: 1.08;
  margin-bottom: 1.15rem !important;
}

.hero-description {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.hero-content .btn {
  font-size: 0.9rem;
}

/* Tighter, calmer preview card: a short portal summary, not a second hero. */
.hero-portal-card {
  max-width: 31rem;
  margin-inline: auto;
  border-radius: 1.2rem;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.24) !important;
}

.hero-portal-card .card-body {
  padding: 1.15rem !important;
}

.hero-portal-card .portal-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.075em;
}

.hero-portal-card h2 {
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.hero-portal-card .card-body > .d-flex p {
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-portal-card .verification-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.8rem;
  font-size: 1.25rem;
}

.hero-portal-card .portal-preview-panel {
  padding: 0.8rem !important;
  margin-bottom: 0.8rem !important;
  border-radius: 0.9rem;
}

.hero-portal-card .portal-preview-emblem {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  font-size: 1.05rem;
}

.hero-portal-card .portal-preview-label {
  font-size: 0.62rem;
  letter-spacing: 0.065em;
}

.hero-portal-card .portal-preview-panel h3 {
  font-size: 0.88rem;
}

.hero-portal-card .portal-status-pill {
  padding: 0.28rem 0.5rem;
  font-size: 0.65rem;
}

.hero-portal-card .portal-preview-stat-grid {
  gap: 0.5rem;
}

.hero-portal-card .portal-preview-stat {
  gap: 0.2rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
}

.hero-portal-card .portal-preview-stat span {
  font-size: 0.68rem;
}

.hero-portal-card .portal-preview-stat strong {
  font-size: 0.78rem;
}

.hero-portal-card .portal-preview-row {
  gap: 0.75rem;
  font-size: 0.76rem;
}

.hero-portal-card .portal-preview-row-compact {
  padding: 0.42rem 0;
}

.hero-portal-card .portal-preview-panel .small {
  font-size: 0.68rem !important;
  line-height: 1.45;
}

.hero-portal-card .btn-brand {
  padding: 0.7rem 1rem !important;
  font-size: 0.88rem;
  border-radius: 0.7rem;
}

.hero-portal-card .portal-security-note {
  font-size: 0.7rem;
  line-height: 1.45;
}

/* Site-wide controls use a consistent, practical size rather than oversized microcopy. */
body,
body .lead {
  font-size: 15px;
}

body .nav-link,
body .btn {
  font-size: 14px !important;
}

body .form-label,
body .form-control,
body .form-select {
  font-size: 14px !important;
}

body .small,
body small,
body .form-text {
  font-size: 13px !important;
}

.footer-description,
.footer-links a,
.footer-heading,
.footer-demo-label,
.footer-bottom {
  font-size: 13px;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

/* Admin interface: denser typography for quick scanning and record management. */
body.admin-page {
  font-size: 14px;
}

.admin-page .topbar,
.admin-page .navbar-brand {
  font-size: 13px;
}

.admin-page .nav-link,
.admin-page .btn,
.admin-page .form-label,
.admin-page .form-control,
.admin-page .form-select,
.admin-page .input-group-text {
  font-size: 13px !important;
}

.admin-page .small,
.admin-page small,
.admin-page .form-text,
.admin-page .eyebrow,
.admin-page .stat-mini-label,
.admin-page .admin-form-section-title,
.admin-page .admin-table thead th,
.admin-page .admin-table tbody td,
.admin-page .status-pill,
.admin-page .footer-description,
.admin-page .footer-links a,
.admin-page .footer-heading,
.admin-page .footer-demo-label,
.admin-page .footer-bottom {
  font-size: 12.5px !important;
}

.admin-page .admin-page-heading h1 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.admin-page .admin-page-heading p {
  font-size: 13px;
  line-height: 1.55;
}

.admin-page .stat-card {
  padding: 1.1rem !important;
  border-radius: 0.85rem;
}

.admin-page .stat-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  font-size: 1rem;
}

.admin-page .stat-card .h2 {
  font-size: 1.55rem;
}

.admin-page .admin-form-card .card-header,
.admin-page .admin-records-card .card-header {
  padding: 1.05rem 1.15rem !important;
}

.admin-page .admin-form-card .card-body,
.admin-page .admin-records-card .card-footer {
  padding: 1.15rem !important;
}

.admin-page .admin-form-card .card-header h2,
.admin-page .admin-records-card .card-header h2 {
  font-size: 0.98rem;
}

.admin-page .admin-form-card .card-header p,
.admin-page .admin-records-card .card-header p {
  font-size: 12.5px !important;
  line-height: 1.5;
}

.admin-page .admin-form-card .form-control,
.admin-page .admin-form-card .form-select,
.admin-page .record-toolbar .form-control,
.admin-page .record-toolbar .form-select {
  min-height: 2.45rem;
  border-radius: 0.55rem;
  font-size: 13px !important;
}

.admin-page .admin-form-card textarea.form-control {
  min-height: auto;
}

.admin-page .admin-form-section-title {
  margin-bottom: 0.85rem;
  font-size: 12.5px !important;
}

.admin-page .admin-form-section + .admin-form-section {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
}

.admin-page .admin-table thead th {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  white-space: nowrap;
  font-size: 11.5px !important;
}

.admin-page .admin-table tbody td {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  font-size: 12.5px !important;
  line-height: 1.45;
}

.admin-page .admin-table .btn {
  font-size: 12px !important;
  padding: 0.32rem 0.48rem;
}

.admin-page .status-pill {
  padding: 0.28rem 0.48rem;
  font-size: 11px !important;
}

.admin-page .admin-help-card,
.admin-page .admin-side-note {
  padding: 1.05rem !important;
}

.admin-page .admin-help-card h2,
.admin-page .admin-side-note h2 {
  font-size: 0.9rem;
}

.admin-page .admin-help-card li,
.admin-page .admin-side-note p {
  font-size: 12.5px !important;
  line-height: 1.6;
}

.admin-page .footer-brand {
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 0;
  }

  .hero-image-overlay {
    background:
      linear-gradient(90deg, rgba(5, 17, 35, 0.72) 0%, rgba(7, 25, 48, 0.47) 100%),
      linear-gradient(0deg, rgba(7, 20, 39, 0.18) 0%, transparent 60%);
  }

  .hero-portal-card {
    max-width: 34rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding-top: 2.75rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-section .display-3 {
    font-size: clamp(2.15rem, 9vw, 2.7rem);
  }

  .hero-portal-card .card-body {
    padding: 0.9rem !important;
  }

  .hero-portal-card .portal-preview-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.18rem;
  }

  .hero-portal-card .portal-preview-row strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background .carousel-item img {
    animation: none;
    transform: none;
  }

  .hero-background.carousel-fade .carousel-item {
    transition: none;
  }
}

/* Country selectors and result flags */
.country-select {
  min-width: 0;
  font-family: 'Manrope', 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
}

.country-select option {
  font-family: 'Manrope', 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
}

.country-result {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.country-result-flag,
.country-flag {
  display: inline-block;
  line-height: 1.2;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.country-result-flag {
  font-size: 1.15rem;
}

.country-flag {
  font-size: 1rem;
}

.admin-country-cell {
  white-space: nowrap;
}


/* Worldwide country navigation and image-based country selectors */
.country-nav-item {
  position: relative;
}

.country-nav-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--bs-navbar-color, #25364c);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
}

.country-nav-toggle:hover,
.country-nav-toggle:focus-visible {
  color: var(--brand-primary, #0b1f3a);
}

.country-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.35rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e9f7f6;
  color: #087e82;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.country-mega-menu {
  width: min(660px, calc(100vw - 2rem));
  max-height: min(80vh, 610px);
  overflow: hidden;
  border: 1px solid #e0e7ef;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3.5rem rgba(13, 34, 63, 0.17);
  margin-top: 0.75rem !important;
  color: #102543;
}

.country-menu-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: #07858a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.country-menu-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.country-menu-total {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #dce6ef;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: #53647a;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
}

.country-menu-search-wrap .input-group-text,
.country-menu-search-wrap .form-control {
  min-height: 2.65rem;
  border-color: #dce5ee;
  font-size: 0.84rem;
}

.country-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.45rem;
  max-height: min(44vh, 340px);
  overflow: auto;
  padding: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: #c3d1df transparent;
}

.country-menu-option {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.55rem;
  padding: 0.52rem 0.55rem;
  border-radius: 0.55rem;
  color: #243a55;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.country-menu-option:hover,
.country-menu-option:focus-visible {
  color: #087e82;
  background: #eff9f8;
  outline: none;
}

.country-menu-option[hidden] {
  display: none !important;
}

.country-menu-name,
.country-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-menu-name {
  flex: 1 1 auto;
}

.country-menu-arrow {
  flex: 0 0 auto;
  color: #96a6b8;
  font-size: 0.72rem;
  opacity: 0;
}

.country-menu-option:hover .country-menu-arrow,
.country-menu-option:focus-visible .country-menu-arrow {
  opacity: 1;
}

.country-menu-flag,
.country-picker-flag,
.country-option-flag,
.country-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 26px;
  height: 18px;
  border: 1px solid rgba(16, 37, 67, 0.12);
  border-radius: 2px;
  background: #f5f7fa;
  object-fit: contain;
  vertical-align: middle;
}

.country-picker-flag {
  width: 25px;
  height: 17px;
}

.country-menu-flag {
  width: 25px;
  height: 17px;
}

.country-menu-footnote {
  padding-top: 0.7rem;
  border-top: 1px solid #edf1f5;
  font-size: 0.72rem;
  line-height: 1.5;
}

.country-flag-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7e92;
  border: 1px solid #d8e0e8;
  border-radius: 2px;
  background: #f2f5f8;
  font-size: 0.8rem;
}

.wvc-country-picker {
  position: relative;
  width: 100%;
}

.wvc-country-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  width: 100%;
  border-color: #d1dce7;
  background-color: #fff;
  color: #243852;
  overflow: hidden;
}

.wvc-country-toggle:hover,
.wvc-country-toggle:focus-visible {
  border-color: #8aa9bc;
}

.wvc-country-toggle.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.wvc-country-toggle .country-picker-label,
.wvc-country-toggle .country-picker-placeholder {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wvc-country-picker .form-select-lg.wvc-country-toggle {
  min-height: 3.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.wvc-country-menu {
  width: 100%;
  min-width: min(100%, 19rem);
  max-height: 22rem;
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 0.8rem;
  box-shadow: 0 0.9rem 2rem rgba(13, 34, 63, 0.15);
}

.wvc-country-search-wrap {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-bottom: 0.55rem;
  background: #fff;
}

.wvc-country-search-wrap .form-control {
  min-height: 2.4rem;
  font-size: 0.82rem;
}

.wvc-country-options {
  max-height: 17rem;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c3d1df transparent;
}

.wvc-country-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border-radius: 0.45rem;
  font-size: 0.82rem;
  text-align: left;
}

.wvc-country-option[hidden] {
  display: none !important;
}

.wvc-country-option.active,
.wvc-country-option[aria-selected="true"] {
  color: #086f76;
  background: #eaf7f6;
}

.country-option-name {
  flex: 1 1 auto;
}

.country-option-code {
  flex: 0 0 auto;
  color: #8292a3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wvc-country-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.country-result-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 18px;
  color: #63798c;
  flex: 0 0 auto;
  font-size: 1rem;
}

.country-result-flag-image {
  display: block;
  width: 26px;
  height: 18px;
  object-fit: contain;
  border: 1px solid rgba(16, 37, 67, 0.12);
  border-radius: 2px;
  background: #f5f7fa;
}

@media (max-width: 991.98px) {
  .country-nav-item {
    width: 100%;
  }

  .country-nav-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .country-mega-menu {
    position: static !important;
    width: 100%;
    max-height: none;
    margin: 0.35rem 0 0 !important;
    box-shadow: none;
    border-radius: 0.75rem;
  }

  .country-menu-list {
    grid-template-columns: minmax(0, 1fr);
    max-height: 250px;
  }
}

@media (max-width: 575.98px) {
  .country-menu-total {
    display: none;
  }

  .country-menu-option {
    padding: 0.55rem 0.4rem;
  }

  .wvc-country-menu {
    min-width: 100%;
  }
}


/* Infinite worldwide destination ribbon */
.destination-marquee-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}

.destination-marquee-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: destination-marquee-scroll 54s linear infinite;
  will-change: transform;
}

.destination-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.destination-card {
  flex: 0 0 clamp(260px, 23vw, 306px);
  min-height: 265px;
}

.destination-africa {
  background-image: url("https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=900&q=85");
}

.destination-middleeast {
  background-image: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=900&q=85");
}

.destination-oceania {
  background-image: url("https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&w=900&q=85");
}

.destination-islands {
  background-image: url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&w=900&q=85");
}

.destination-marquee-shell:hover .destination-marquee-track,
.destination-marquee-shell:focus-within .destination-marquee-track {
  animation-play-state: paused;
}

@keyframes destination-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.result-download-row {
  border-color: #e5ebf2 !important;
}

.result-pdf-button {
  white-space: nowrap;
  font-weight: 700;
}

.result-pdf-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 767.98px) {
  .destination-marquee-group {
    gap: 1rem;
    padding-right: 1rem;
  }

  .destination-card {
    flex-basis: min(78vw, 300px);
    min-height: 245px;
  }

  .destination-marquee-track {
    animation-duration: 46s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .destination-marquee-track {
    animation: none;
    transform: none;
  }

  .destination-marquee-shell {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
