/* FlyNext Travel — klantportal (zelfde huisstijl als hoofdsite) */
:root {
  --fn-navy: #0a1628;
  --fn-navy-mid: #132337;
  --fn-sky: #3b82f6;
  --fn-sky-deep: #1d4ed8;
  --fn-accent: #f59e0b;
  --fn-accent-hover: #d97706;
  --fn-surface: #ffffff;
  --fn-muted: #64748b;
  --fn-text: #0f172a;
  --fn-border: #e2e8f0;
  --fn-success: #059669;
  --fn-radius: 12px;
  --fn-radius-lg: 20px;
  --fn-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --fn-shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
  --fn-font-display: 'Outfit', system-ui, sans-serif;
  --fn-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --fn-page-bg: #f8fafc;
  --fn-danger: #dc2626;
  --fn-danger-bg: #fef2f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fn-font-body);
  background: var(--fn-page-bg);
  color: var(--fn-text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fn-sky-deep);
  text-decoration: none;
}

a:hover {
  color: var(--fn-sky);
}

/* —— Header (navy topbalk + witte balk zoals hoofdsite) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background-color: var(--fn-navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.account-header-top {
  background: linear-gradient(180deg, #0f2138 0%, var(--fn-navy) 100%);
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-header-top__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}

.account-header-top__trustlist {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-header-top__trustlist li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.8125rem;
}

.account-header-top__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-header-top__right a {
  color: #cbd5e1;
  font-weight: 500;
  text-decoration: none;
}

.account-header-top__right a:hover {
  color: #fff;
}

/* Taal — compacte dropdown (één bron met portal.js) */
.fn-lang {
  position: relative;
}

.fn-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem 0.28rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.fn-lang-trigger:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.fn-lang-globe {
  display: flex;
  color: #cbd5e1;
}

.fn-lang-code {
  min-width: 1.5rem;
  text-align: left;
}

.fn-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 11.5rem;
  background: #fff;
  border: 1px solid var(--fn-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  z-index: 80;
}

.fn-lang-menu--hidden {
  display: none;
}

.fn-lang-item {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.fn-lang-item:hover {
  background: #f1f5f9;
}

.account-header-top__trustmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--fn-success);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 520px) {
  .account-header-top__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .account-header-top__trustlist {
    grid-column: 1;
  }

  .account-header-top__right {
    grid-column: 1;
    justify-self: center;
  }
}

.account-header-main {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf1;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
}

/* Zwevende melding onder de header (API + portal.js) */
.flynext-announcement-slot {
  max-width: 920px;
  margin: 0.55rem auto 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  z-index: 40;
  pointer-events: none;
}

.flynext-announcement-slot .fn-ann-card {
  pointer-events: auto;
}

.fn-ann-card {
  border-radius: 16px;
  border: 1px solid var(--fn-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
}

.fn-ann-card__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: flex-start;
  padding: 1rem 1.05rem 1.05rem;
}

.fn-ann-card__icon {
  color: var(--fn-sky-deep);
  line-height: 0;
  margin-top: 0.1rem;
}

.fn-ann-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--fn-font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fn-navy);
  line-height: 1.3;
}

.fn-ann-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.fn-ann-card__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fn-sky-deep);
}

.fn-ann-card__link:hover {
  color: var(--fn-sky);
  text-decoration: underline;
}

.fn-ann-card__close {
  appearance: none;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  padding: 0.35rem;
  cursor: pointer;
  color: #64748b;
  line-height: 0;
  transition: background 0.12s ease;
}

.fn-ann-card__close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.fn-ann-card--warning .fn-ann-card__icon {
  color: #d97706;
}

.fn-ann-card--important .fn-ann-card__icon {
  color: #dc2626;
}

.fn-ann-card--success .fn-ann-card__icon {
  color: var(--fn-success);
}

@media (max-width: 520px) {
  .flynext-announcement-slot {
    margin-top: 0.45rem;
    padding: 0 0.65rem;
  }

  .fn-ann-card__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .fn-ann-card__close {
    grid-column: 2;
    justify-self: end;
  }
}

.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: clamp(40px, 7vw, 56px);
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 0.9rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav button.link {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.5rem 0.35rem;
  border-radius: 6px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.site-nav a:hover,
.site-nav button.link:hover {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--fn-sky-deep);
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.booking-link {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.account-btn {
  appearance: none;
  background: #0a1b3f;
  border: none;
  border-radius: 999px;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.52rem 1.15rem;
  text-decoration: none;
}

.account-menu-wrap {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  padding: 0.35rem;
  z-index: 90;
}

.account-dropdown.hidden {
  display: none;
}

.account-dropdown a,
.account-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: #f1f5f9;
}

@media (max-width: 980px) {
  .site-header__inner {
    gap: 0.6rem 1rem;
  }

  .booking-link {
    display: none;
  }

  .site-nav a {
    font-size: 0.82rem;
    padding: 0.4rem 0.25rem;
  }
}

@media (max-width: 760px) {
  .account-header-top__inner {
    justify-content: center;
    gap: 0.45rem;
  }

  .account-header-top__right {
    gap: 0.55rem;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }
}

/* —— Footer (navy, vergelijkbaar met site-footer) —— */
.site-footer {
  margin-top: auto;
  background: var(--fn-navy);
  color: #94a3b8;
  font-size: 0.875rem;
}

.site-footer-main {
  padding: 3rem 1.25rem 2rem;
}

.site-footer-main__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(260px, 430px) 1fr;
}

.site-footer-logo-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  padding: 0.5rem 0.85rem;
}

.site-footer-logo {
  display: block;
  height: clamp(42px, 8vw, 64px);
  width: auto;
}

.site-footer-reg {
  color: #64748b;
  font-size: 0.8125rem;
  margin: 0.6rem 0 0;
}

.site-footer-address {
  color: #94a3b8;
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.45;
  margin: 0.5rem 0 0;
}

.site-footer-company-meta {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0.45rem 0 0;
  max-width: 36rem;
}

.site-footer-story {
  color: #cbd5e1;
  line-height: 1.65;
  margin: 1rem 0 0;
}

.site-footer-trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.site-footer-trust li {
  margin-bottom: 0.35rem;
}

.site-footer-columns {
  display: grid;
  gap: 1.75rem 1.35rem;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.site-footer-columns h3 {
  color: #94a3b8;
  font-family: var(--fn-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.site-footer-columns a {
  color: #e2e8f0;
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.site-footer-columns a:hover {
  color: #fff;
}

.site-footer-legal {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 1.25rem 1.6rem;
}

.site-footer-legal__inner {
  margin: 0 auto;
  max-width: 1320px;
}

.site-footer-legal__title {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.site-footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.8rem;
}

.site-footer-legal__links a {
  color: #94a3b8;
}

.site-footer-line {
  margin: 0;
}

.site-footer-line a {
  color: #cbd5e1;
}

h1 {
  font-family: var(--fn-font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--fn-navy);
}

.lead {
  color: var(--fn-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.lead a {
  font-weight: 600;
}

.card {
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius-lg);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--fn-shadow-soft);
}

.card + .card {
  margin-top: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fn-muted);
  margin-bottom: 0.35rem;
}

input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius);
  font: inherit;
  margin-bottom: 1rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: var(--fn-sky);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: var(--fn-radius);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--fn-font-display);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--fn-navy);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.15);
}

.btn-primary:hover {
  background: var(--fn-navy-mid);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--fn-sky);
  outline-offset: 2px;
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: var(--fn-navy);
  border: 2px solid var(--fn-border);
}

.btn-secondary:hover {
  border-color: var(--fn-navy);
  color: var(--fn-sky-deep);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--fn-sky);
  outline-offset: 2px;
}

.alert {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--fn-radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert--error {
  display: block;
  background: var(--fn-danger-bg);
  color: var(--fn-danger);
  border: 1px solid #fecaca;
}

.booking-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-card {
  display: block;
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius-lg);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--fn-shadow-soft);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.booking-card:hover {
  border-color: rgb(59 130 246 / 0.45);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.booking-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.booking-card__id {
  font-family: var(--fn-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fn-navy);
}

.booking-card__route {
  color: var(--fn-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.booking-card__meta {
  font-size: 0.8rem;
  color: var(--fn-muted);
  margin-top: 0.5rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.badge--ok {
  background: #dcfce7;
  color: #166534;
}

.badge--fail {
  background: #fee2e2;
  color: #991b1b;
}

.badge--neutral {
  background: #e0e7ff;
  color: #3730a3;
}

.dl-grid {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.95rem;
}

.dl-grid dt {
  color: var(--fn-muted);
  font-weight: 600;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.actions-row .btn {
  width: auto;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--fn-muted);
  border: 1px dashed var(--fn-border);
  border-radius: var(--fn-radius-lg);
  background: #fff;
}

.platform-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.account-sidebar-shell {
  background: linear-gradient(180deg, #03122d 0%, #041835 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(2, 12, 32, 0.34);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.account-sidebar-nav {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 0.65rem;
}

.account-sidebar-link {
  border-radius: 10px;
  color: #dbeafe;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.62rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.account-sidebar-link:hover {
  background: rgba(30, 64, 175, 0.35);
  color: #fff;
  transform: translateX(1px);
}

.account-sidebar-link.account-sidebar-link--active {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.35);
}

.account-sidebar-link--danger {
  color: #fda4af;
}

.account-sidebar-link--danger:hover {
  background: rgba(190, 24, 93, 0.2);
  color: #fecdd3;
}

.account-sidebar-divider {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin: 0.35rem 0.35rem 0.05rem;
}

.account-sidebar-logout {
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.68rem 0.75rem;
  text-align: left;
  width: 100%;
  margin-top: 0.15rem;
}

.account-sidebar-logout:hover {
  background: rgba(15, 23, 42, 0.95);
}

.dashboard-hero {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: clamp(300px, 42vh, 520px);
  /* visible: vluchtroute-autocomplete (.fnr-ac-list) mag onder het filter uitsteken zonder af te knippen */
  overflow: visible;
  margin-top: calc(-1 * var(--fn-radius));
  padding: calc(1rem + var(--fn-radius)) 1rem 1.75rem;
  position: relative;
  z-index: 1;
}

.dashboard-hero__headline {
  flex-shrink: 0;
  margin: 0;
  max-width: min(880px, 100%);
  padding: 0 0.5rem;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.dashboard-hero__headline h1 {
  color: #fff;
  font-family: var(--fn-font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: fn-fade-up 0.6s ease-out both;
}

.dashboard-hero__headline p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0.5rem 0 0;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
  animation: fn-fade-up 0.65s ease-out 0.08s both;
}

.dashboard-quick-actions {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.dashboard-quick-card {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  display: block;
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.2s ease;
}

.dashboard-quick-card:hover {
  border-color: rgb(147 197 253 / 0.65);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.dashboard-quick-card h3 {
  color: #0f172a;
  font-family: var(--fn-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.dashboard-quick-card p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.dashboard-welcome {
  background: linear-gradient(105deg, #0f172a 0%, #1e3a5f 42%, #2563eb 100%);
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  color: #fff;
  padding: 1.5rem;
}

.dashboard-welcome h2 {
  font-family: var(--fn-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.dashboard-welcome p {
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
  opacity: 0.88;
}

.dashboard-welcome__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.dashboard-welcome__lead {
  min-width: 0;
}

.dashboard-welcome__profile {
  min-width: 0;
  text-align: center;
}

.dashboard-welcome-profile__title {
  margin: 0 0 0.35rem;
  font-family: var(--fn-font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dashboard-welcome-profile__body {
  min-width: 0;
}

.dashboard-welcome-profile__loading {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-welcome-profile__meterRow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.dashboard-welcome-profile__meterRow .dashboard-welcome-progress {
  flex: 1;
  min-width: 0;
}

.dashboard-welcome-profile__pct {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-welcome-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}

.dashboard-welcome-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(254, 249, 195, 0.95), #eab308 55%, #ca8a04);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.25);
  transition: width 0.45s ease;
}

.dashboard-welcome-profile__btn {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}

.dashboard-welcome-profile__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.dashboard-welcome-profile__btn:active {
  transform: scale(0.98);
}

@media (min-width: 640px) {
  .dashboard-welcome__row {
    grid-template-columns: minmax(0, 1fr) minmax(168px, 30%);
    column-gap: 1.75rem;
    align-items: start;
  }

  .dashboard-welcome__profile {
    justify-self: end;
    max-width: 220px;
  }
}

@media (max-width: 639px) {
  .dashboard-welcome__profile {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* —— Account dashboard: premium cockpit (geen emoticons in markup) —— */
.fn-dashboard-hero-sub {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 32rem;
}

.fn-status-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}

.fn-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.6rem;
  line-height: 1.3;
  border: 1px solid transparent;
}

.fn-badge--success {
  background: rgba(5, 150, 105, 0.2);
  border-color: rgba(167, 243, 208, 0.45);
  color: #d1fae5;
}

.fn-badge--warn {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(252, 211, 77, 0.45);
  color: #fef3c7;
}

.fn-badge--amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #b45309;
}

.fn-badge--quiet {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.fn-badge--outline {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

.fn-badge--positive {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.fn-badge--muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}

.fn-cockpit {
  min-width: 0;
}

.fn-card-premium {
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 28px rgba(15, 23, 42, 0.07);
}

.fn-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.fn-card-icon {
  flex-shrink: 0;
  color: #94a3b8;
  opacity: 0.95;
}

.fn-trip-status-card {
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgb(226 232 240 / 0.95);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fn-trip-status-card:hover {
  border-color: rgb(191 219 254 / 0.85);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

.fn-trip-status-body {
  min-height: 2.5rem;
}

.fn-profile-compact {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem 0;
}

.fn-profile-compact__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  align-items: baseline;
}

.fn-profile-compact__row dt {
  margin: 0;
  color: #94a3b8;
  font-weight: 500;
}

.fn-profile-compact__row dd {
  margin: 0;
  color: #0f172a;
  font-weight: 600;
}

@media (min-width: 400px) {
  .fn-profile-compact__row {
    grid-template-columns: 5.5rem 1fr;
  }
}

.fn-booking-pill {
  display: block;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.fn-booking-pill:hover {
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.fn-booking-pill__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

@keyframes fn-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-hero__img {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center 28%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.dashboard-hero__overlay {
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.45) 0%, transparent 55%),
    linear-gradient(120deg, rgba(10, 22, 40, 0.58), rgba(15, 48, 84, 0.42));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.dashboard-hero__inner {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vh, 1.1rem);
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 1320px;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* Zoekpaneel zelfde shell als homepage — witte kaart zit in flight-search-panel.css */
.dashboard-hero__filter {
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  margin: 0 auto;
  max-width: min(880px, 100%);
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 4;
}

@media (max-width: 640px) {
  .dashboard-hero {
    min-height: clamp(260px, 48vh, 400px);
    padding-bottom: 1.75rem;
  }
}

.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.14) !important;
}

.error-text {
  margin-top: 0.35rem;
  color: #b91c1c;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.logo-main {
  display: block;
  height: clamp(44px, 7vw, 58px);
  width: auto;
  object-fit: contain;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 9999px;
  background: var(--fn-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* —— Compacte booking-footer (vluchten / checkout i.p.v. marketingfooter) —— */
body.fn-booking-flow .site-footer {
  margin-top: auto;
  background: #f1f5f9;
  border-top: 1px solid var(--fn-border);
  color: var(--fn-muted);
  font-size: 0.8125rem;
}

body.fn-booking-flow .fn-book-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.35rem;
}

body.fn-booking-flow .fn-book-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

body.fn-booking-flow .fn-book-footer__primary {
  margin: 0;
  font-weight: 500;
}

body.fn-booking-flow .fn-book-footer__sep {
  opacity: 0.45;
}

body.fn-booking-flow .fn-book-footer a {
  color: var(--fn-navy-mid);
  font-weight: 600;
  text-decoration: none;
}

body.fn-booking-flow .fn-book-footer a:hover {
  text-decoration: underline;
}

body.fn-booking-flow .fn-book-footer__trust {
  margin: 0;
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.4;
}
