@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #05070c;
  --panel: #0d111d;
  --panel-strong: #12192c;
  --text: #e6e9f0;
  --muted: #9aa2b5;
  --accent: #ff3b3b;
  --accent-soft: rgba(255, 59, 59, 0.12);
  --border: rgba(255, 59, 59, 0.35);
  --radius: 18px;
  --glow: 0 20px 60px rgba(255, 59, 59, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(255, 59, 59, 0.07), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(80, 119, 255, 0.06), transparent 25%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ff6f6f;
  opacity: 0.9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 10, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  border-color: var(--border);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.content {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 32px 0 52px;
  flex: 1;
}

.hero {
  background: linear-gradient(145deg, rgba(255, 59, 59, 0.08), rgba(13, 17, 29, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--glow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-compact {
  grid-template-columns: 1fr;
  padding: 22px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  letter-spacing: 0.5px;
}

.hero-subtitle {
  color: var(--muted);
  line-height: 1.6;
  max-width: 820px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--glow);
}

.card h2,
.card h3 {
  color: var(--text);
  margin: 12px 0 6px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card small {
  color: var(--muted);
}

.card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.wanted-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-personen .personen-toolbar {
  width: min(880px, 100%);
  margin-top: 18px;
}

.migrate-progress {
  display: none;
  gap: 8px;
  margin-top: 2px;
}

.migrate-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.migrate-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff9b6a);
  transition: width 0.2s ease;
}

.session-timeout-warning {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15000;
  max-width: 360px;
  width: calc(100% - 32px);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
  padding: 12px;
  display: none;
  gap: 10px;
}

.session-timeout-warning.is-open {
  display: grid;
}

.session-timeout-warning p {
  margin: 0;
  color: var(--text);
}

.page-personen #personen-grid {
  margin-top: 18px;
}

.page-personen .persoon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-personen .persoon-card .card-media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-personen .persoon-card .card-media img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.personen-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.personen-form-actions {
  grid-column: 1 / -1;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-personen .member-modal-card {
  width: min(980px, 100%);
  padding: 20px;
}

.personen-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.personen-col-2 {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}

.personen-section h3 {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 1rem;
}

.personen-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .personen-form-grid {
    grid-template-columns: 1fr;
  }

  .personen-col-2 {
    grid-template-columns: 1fr;
  }
}

.wanted-card .card-media {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.wanted-card .card-media img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.hq-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.hq-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
}

.media-placeholder {
  min-height: 220px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-weight: 600;
}

.hq-grid .media-placeholder {
  min-height: 260px;
}

.media-caption {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 59, 59, 0.04));
}

.plan-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(255, 59, 59, 0.9), rgba(255, 59, 59, 0.75));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 59, 59, 0.45);
  color: var(--text);
}

.btn-outline:hover {
  background: linear-gradient(120deg, rgba(255, 59, 59, 0.22), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 36px rgba(255, 59, 59, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border);
  color: #fff;
}

.form-card {
  width: min(480px, 100%);
  margin: 26px auto 0;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control::placeholder {
  color: #6d7488;
}

.form-control:focus {
  outline: none;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--glow);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.pin-setup {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.pin-lock {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.95), rgba(5, 7, 12, 0.98));
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pin-lock.is-active {
  display: flex;
}

.pin-lock-card {
  width: min(460px, 100%);
  background: var(--panel-strong);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.pin-lock-header {
  margin-bottom: 16px;
}

.pin-lock-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.pin-lock-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.pin-lock-subtitle {
  color: var(--muted);
}

.pin-lock-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 18px;
}

.pin-lock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pin-lock-dot.is-filled {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.35);
}

.pin-lock-dot.filled {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.35);
}

.pin-lock-pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pin-lock-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pin-lock-btn {
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pin-lock-key {
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pin-lock-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.pin-lock-key:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

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

.pin-lock-key:active {
  transform: scale(0.98);
}

.pin-lock-btn.secondary {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.pin-lock-error {
  min-height: 20px;
  color: #ff9b9b;
  margin-top: 8px;
}

body.is-pin-locked {
  overflow: hidden;
}

.persoon-photo-preview-wrap {
  margin: 6px 0 14px;
  min-height: 110px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  padding: 10px;
}

.persoon-photo-preview {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: zoom-in;
}

.section-title {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--text);
}

.section-lead {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.info-row {
  padding: 14px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.info-value {
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 20px 0 28px;
  color: var(--muted);
  background: rgba(8, 10, 18, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer small {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: var(--muted);
}

.notice {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 59, 59, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.maintitle {
  text-align: center;
  color: var(--text);
  margin: 0;
}

.textbox1 {
  width: 100%;
  margin: 10px 0;
  text-align: left;
}

.container,
.container1 {
  width: min(520px, 100%);
  margin: 26px auto 0;
  padding: 22px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.sub,
.lobutton,
button {
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  background: linear-gradient(120deg, rgba(255, 59, 59, 0.9), rgba(255, 59, 59, 0.75));
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sub:hover,
.lobutton:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  filter: brightness(1.05);
}

.user_bo,
.user_bo1 {
  margin: 18px 0;
  padding: 18px;
  background: var(--panel-strong);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.cred {
  color: var(--muted);
}

.zoompic {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoompic:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--glow);
}

.boxesx {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  margin: 14px 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.centerzx {
  margin: 0 auto 12px;
  border-radius: 12px;
}

.under-construction {
  text-align: center;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

iframe {
  width: 100%;
  min-height: 240px;
  border: none;
  border-radius: 12px;
  display: block;
}

/* Seatmap styling */
.plane {
  background: var(--panel-strong);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.cockpit h1 {
  text-align: center;
  color: var(--text);
  margin-bottom: 10px;
}

.cabin {
  list-style: none;
  padding: 0;
  margin: 0;
}

.row {
  display: grid;
  grid-template-columns: repeat(6, minmax(48px, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.seats {
  display: contents;
}

.seat {
  position: relative;
}

.seat input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.seat label {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 10px;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.seat input[type="checkbox"]:checked + label {
  background: var(--accent-soft);
  border-color: var(--border);
  color: #fff;
  box-shadow: var(--glow);
}

.seat label:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.profile-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  display: block;
  cursor: zoom-in;
}

.zoompic,
.centerzx {
  cursor: zoom-in;
}

.profile-zoom-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.85);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
}

.profile-zoom-backdrop img {
  width: min(90vw, 800px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  background: #111;
}

body.is-profile-zoomed {
  overflow: hidden;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  justify-items: center;
}

.team-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  width: auto;
  max-width: 220px;
  cursor: pointer;
}

.team-card h3 {
  margin-top: 10px;
  color: var(--text);
}

.team-card .muted {
  font-size: 0.9rem;
}

.member-delete-btn {
  width: 100%;
  margin-top: 8px;
}

.member-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.82);
  display: none;
  z-index: 12000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.member-modal.is-open {
  display: flex;
}

.member-modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--panel-strong);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  padding: 18px;
}

#member-form {
  display: grid;
  gap: 12px;
}

.rich-editor-wrap {
  display: grid;
  gap: 8px;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rich-btn {
  min-height: 38px;
  padding: 8px 12px;
}

.rich-editor {
  min-height: 140px;
  line-height: 1.5;
  overflow: auto;
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .member-modal-card {
    padding: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  .profile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .profile-gallery {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.cred{
    color: red;
    font-family: sans-serif;
}

.zoompic {
  width: 700px;
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  transition: all 800ms;
}
.zoompic:hover{
  width: 800px;
  height: auto;
  transition: all 800ms;
    
}  



.boxesx{
    display: inline-block;
    margin-left: 30px;
    width: 400px;
    height: 600px;
    border-radius: 10px;
    background-color: red;
    text-align: center;
    margin-top: 30px;
}
.centerzx {
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    transition: all 800ms;
  }
.centerzx:hover{
    width: 380px;
    height: auto;
    transition: all 800ms;

}
*,*:before,*:after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}

.plane {
  margin: 20px auto;
  max-width: 300px;
}

.cockpit {
  height: 250px; 
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 5px solid #d8d8d8;
  &:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 100%;
    border-radius: 50%;
    border-right: 5px solid #d8d8d8;
    border-left: 5px solid #d8d8d8;
  }
  h1 {
    width: 60%;
    margin: 100px auto 35px auto;
  }
}

.exit {
  position: relative;
  height: 50px;
  &:before,
  &:after {
    content: "EXIT";
    font-size: 14px;
    line-height: 18px;
    padding: 0px 2px;
    font-family: "Arial Narrow", Arial, sans-serif;
    display: block;
    position: absolute;
    background: green;
    color: white;
    top: 50%;
    transform: translate(0, -50%);
  }
  &:before {
    left: 0;
  }
  &:after {
    right: 0;
  }
}

.fuselage {
  border-right: 5px solid #d8d8d8;
  border-left: 5px solid #d8d8d8;
}

ol {
  list-style :none;
  padding: 0;
  margin: 0;
}

.row {
  
}

.seats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;  
}

.seat {
  display: flex;
  flex: 0 0 14.28571428571429%;
  padding: 5px;
  position: relative;  
  &:nth-child(3) {
    margin-right: 14.28571428571429%;
  }
  input[type=checkbox] {
    position: absolute;
    opacity: 0;
  }
  input[type=checkbox]:checked {
    + label {
      background: #bada55;      
      -webkit-animation-name: rubberBand;
          animation-name: rubberBand;
      animation-duration: 300ms;
      animation-fill-mode: both;
    }
  }
  input[type=checkbox]:disabled {
    + label {
      background: #dddddd;
      text-indent: -9999px;
      overflow: hidden;
      &:after {
        content: "X";
        text-indent: 0;
        position: absolute;
        top: 4px;
        left: 50%;
        transform: translate(-50%, 0%);
      }
      &:hover {
        box-shadow: none;
        cursor: not-allowed;
      }
    }
  }
  label {    
    display: block;
    position: relative;    
    width: 100%;    
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 4px 0;
    background: #F42536;
    border-radius: 5px;
    animation-duration: 300ms;
    animation-fill-mode: both;
    
    &:before {
      content: "";
      position: absolute;
      width: 75%;
      height: 75%;
      top: 1px;
      left: 50%;
      transform: translate(-50%, 0%);
      background: rgba(255,255,255,.4);
      border-radius: 3px;
    }
    &:hover {
      cursor: pointer;
      box-shadow: 0 0 0px 2px #5C6AFF;
    }
    
  }
}

@-webkit-keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
            transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
            transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
            transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
            transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}

.rubberBand {
  -webkit-animation-name: rubberBand;
          animation-name: rubberBand;
}


.goedkeuren {
	background-color:#10d144;
	border-radius:42px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:7px 76px;
	text-decoration:none;
	text-shadow:0px 1px 0px #cc5252;
}
.goedkeuren:hover {
	background-color:#ff0000;
}
.goedkeuren:active {
	position:relative;
	top:1px;
}

.afkeuren {
	background-color:#365aeb;
	border-radius:42px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	font-weight:bold;
	padding:6px 76px;
	text-decoration:none;
	text-shadow:0px 1px 0px #6254cc;
}
.afkeuren:hover {
	background-color:#32e316;
}
.afkeuren:active {
	position:relative;
	top:1px;
}

        
/* Airlines page refinements */
.page-airlines .airlines-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-airlines .airlines-shell > section {
  margin-top: 0;
}

.page-airlines .airlines-hero {
  position: relative;
  overflow: hidden;
}

.page-airlines .airlines-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 59, 59, 0.22), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(80, 119, 255, 0.18), transparent 40%);
  opacity: 0.7;
  pointer-events: none;
}

.page-airlines .airlines-hero > * {
  position: relative;
  z-index: 1;
}

.page-airlines .airlines-grid {
  gap: 18px;
}

.page-airlines .card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-airlines .card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 59, 0.35);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.page-airlines .pill {
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid var(--border);
  color: var(--text);
}

.page-airlines .zoompic {
  width: 100%;
  max-width: 520px;
  margin: 8px auto 0;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-airlines .zoompic:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glow);
}

.page-airlines .card > .centerzx {
  width: min(100%, 260px);
  margin: 0 auto 12px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-airlines .card > .centerzx:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glow);
}

.page-airlines .crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.page-airlines .crew-grid .boxesx {
  width: 100%;
  height: auto;
  margin: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 59, 59, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.page-airlines .crew-grid .centerzx {
  width: min(100%, 240px);
  margin: 0 auto 10px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-airlines .crew-grid .centerzx:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glow);
}

.page-airlines .airlines-booking {
  border-color: rgba(255, 59, 59, 0.2);
  background: linear-gradient(160deg, rgba(13, 17, 29, 0.95), rgba(255, 59, 59, 0.05));
}

.page-airlines .card iframe {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0f1a;
  aspect-ratio: 16 / 9;
}

.page-airlines .airlines-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: airlines-rise 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.page-airlines .airlines-grid.airlines-reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.page-airlines .airlines-grid.airlines-reveal > .card {
  --stagger: 0s;
  opacity: 0;
  transform: translateY(12px);
  animation: airlines-rise 0.6s ease forwards;
  animation-delay: calc(var(--delay, 0s) + var(--stagger, 0s));
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(1) {
  --stagger: 0.05s;
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(2) {
  --stagger: 0.12s;
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(3) {
  --stagger: 0.19s;
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(4) {
  --stagger: 0.26s;
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(5) {
  --stagger: 0.33s;
}

.page-airlines .airlines-grid.airlines-reveal > .card:nth-child(6) {
  --stagger: 0.4s;
}

@keyframes airlines-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-airlines .airlines-reveal,
  .page-airlines .airlines-grid.airlines-reveal > .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
        
