/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #f0f4f8;
  --surface:  #ffffff;
  --border:   #d1d9e0;
  --text:     #1a2332;
  --muted:    #5a6a7e;
  --accent:   #1d6fa4;
  --accent2:  #2a9d5c;
  --danger:   #c0392b;
  --warn:     #d4811a;
  --radius:   8px;
  --shadow:   0 1px 4px rgba(0,0,0,.10);
  --nav-h:    56px;
}

body {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  background-color: deepskyblue;
  
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #1a2332;
  display: flex; align-items: center;
  flex-wrap: wrap;
  min-height: var(--nav-h);
  padding: 0 1.5rem;
  gap: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
nav .brand {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: .5px;
  margin-right: auto; white-space: nowrap;
  padding: .6rem 0;
}
nav a {
  color: rgba(255,255,255,.75);
  padding: .4rem .75rem;
  border-radius: 5px;
  font-size: .85rem;
  display: flex; align-items: center; gap: .35rem;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
nav .spacer { flex: 1; }

/* hamburger checkbox — always hidden */
.nav-toggle-cb { display: none; }

/* hamburger icon — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: .5rem .25rem;
  margin-left: .5rem;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* nav-menu: horizontal row on desktop */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
  gap: 0;
}

/* ── Mobile breakpoint ───────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }

  .nav-burger { display: flex; }

  /* collapse the menu by default */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: .5rem 0 .75rem;
    gap: 2px;
  }

  /* show when checkbox is checked */
  .nav-toggle-cb:checked ~ .nav-menu { display: flex; }

  /* animate burger → ✕ */
  .nav-toggle-cb:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle-cb:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-cb:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu a,
  .nav-menu .nav-user,
  .nav-menu .nav-logout {
    width: 100%;
    padding: .5rem .75rem;
    font-size: .9rem;
  }

  .nav-menu .spacer { display: none; }

  .nav-menu form { width: 100%; }
  .nav-menu .btn { width: 100%; justify-content: center; margin-top: .25rem; }
}

/* ── Page shell ───────────────────────────────────────── */
.page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.5rem 5rem; }
h1    { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text); }
h2    { font-size: 1.1rem; margin: 1.5rem 0 .75rem; color: var(--text); }

/* ── Cards / surfaces ─────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.25rem;
  
}

/* ── Stat grid ────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  text-align: center; text-decoration: none; color: var(--text);
  transition: box-shadow .15s, transform .12s;
  display: block;
  background-color: aqua;
}
.stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.14); transform: translateY(-2px); text-decoration: none; }
.stat-card .num  { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-card .lbl  { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ── Toolbar ──────────────────────────────────────────── */
.toolbar {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .6rem; margin-bottom: 1rem;
}
.toolbar form { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }

  .hidden-input {
    display: none;
  }

/* ── Form elements ────────────────────────────────────── */
input[type=text], input[type=number], input[type=date], input[type=email],
select, textarea {
  border: 1px solid var(--border); border-radius: 5px;
  padding: .35rem .6rem; font-size: .875rem;
  font-family: inherit; color: var(--text);
  background: var(--surface);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,111,164,.15);
}
textarea { resize: vertical; min-height: 70px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ── Form locked / readonly mode ─────────────────────── */
.form-locked {
  background: #f4f6f9;
  box-shadow: none;
}
.form-locked input:disabled,
.form-locked select:disabled,
.form-locked textarea:disabled {
  background: #eef1f5;
  color: var(--text);
  border-color: var(--border);
  cursor: default;
  opacity: 1;
  -webkit-text-fill-color: var(--text);
}
.form-locked .form-group label {
  color: var(--muted);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .9rem; border-radius: 5px;
  font-size: .85rem; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: filter .15s, box-shadow .15s;
  text-decoration: none; line-height: 1.4;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-success  { background: var(--accent2); color: #fff; }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-sm       { padding: .22rem .6rem; font-size: .8rem; }
.btn-outline  { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg); }
.btn-outline.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-small { background: var(--accent); color: #fff;  height: 20px;}

/* ── Chart toggle ─────────────────────────────────────── */
.chart-toggle {
  display: flex; gap: .5rem;
  margin-bottom: 1rem;
}

#view-chart,
#score-view-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

#view-chart canvas,
#score-view-chart canvas {
  width: 100% !important;
  max-height: 480px;
}

/* ── Table ────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th    { background: #eef2f6; text-align: left; padding: .55rem .75rem; font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 1px solid var(--border); }
td    { padding: .5rem .75rem; border-bottom: 1px solid #eef2f6; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f7f9fb; }
.actions { display: flex; gap: .4rem; }

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-block; padding: .15rem .5rem;
  border-radius: 12px; font-size: .75rem; font-weight: 600;
}
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-grey   { background: #f3f4f6; color: #374151; }
.badge-red    { background: #fee2e2; color: #991b1b; }

/* ── Star rating ──────────────────────────────────────── */
.stars { color: #f59e0b; letter-spacing: 1px; }

/* ── Section header ───────────────────────────────────── */
.section-hdr {
  display: flex; justify-content: space-between; align-items: center;
  margin: 1.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Collapsible subsection ───────────────────────────── */
details.subsection { margin-bottom: 1rem; }
details.subsection > summary.section-hdr {
  list-style: none;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}
details.subsection > summary.section-hdr::-webkit-details-marker { display: none; }
details.subsection > summary.section-hdr h2::before {
  content: '▸';
  display: inline-block;
  font-size: .8rem;
  color: var(--muted);
  margin-right: .5rem;
  transition: transform .2s;
  vertical-align: middle;
}
details.subsection[open] > summary.section-hdr h2::before {
  transform: rotate(90deg);
}
details.subsection > .subsection-body { padding-top: .5rem; }

/* ── Sub-table ────────────────────────────────────────── */
.sub-table-wrap { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 1rem; }
.sub-table { width: 100%; border-collapse: collapse; background: #fafbfc; }
.sub-table th { font-size: .75rem; background: #f0f4f8; padding: .4rem .65rem; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.sub-table td { font-size: .8rem; padding: .4rem .65rem; border-bottom: 1px solid #eef2f6; }
.sub-table tr:last-child td { border-bottom: none; }

/* ── Add-row form ─────────────────────────────────────── */
.add-row-form {
  background: #f7f9fb; border: 1px solid var(--border);
  border-radius: 6px; padding: .85rem 1rem; margin-top: .75rem;
}
.add-row-form .form-inline {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end;
}
.add-row-form .form-inline .fg { display: flex; flex-direction: column; gap: .2rem; }
.add-row-form .form-inline label { font-size: .75rem; font-weight: 600; color: var(--muted); }

/* ── Search input ─────────────────────────────────────── */
.search-input { min-width: 200px; }

/* ── Scorecard hole grid ──────────────────────────────── */
.hole-grid { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .4rem; }
.hole-grid--2col { display: grid; grid-template-columns: repeat(2, 1fr); }
.hole-pill {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #eef2f6; border-radius: 4px; padding: 2px 6px;
  font-size: .72rem; min-width: 32px;
}
.hole-pill .h-num { color: var(--muted); font-size: .65rem; }
.hole-pill .h-sc  { font-weight: 700; color: var(--text); }
.hole-pill .h-birdie {color: white;background: darkgreen;border-radius: 50%; width: 15px; text-align: center;}
.hole-pill .h-bougie {color: white;background-color: darkblue;width: 15px; text-align: center;}
.hole-pill .hole-birdie{fill: red;}

/* ── Alert ────────────────────────────────────────────── */
.empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ── Alert banners ────────────────────────────────────── */
.alert-error {
  background: #fee2e2; color: #991b1b;
  border: 1px solid #fca5a5; border-radius: 5px;
  padding: .6rem .85rem; font-size: .875rem;
  margin-bottom: 1rem;
}
.alert-warn {
  background: #fff7ed; color: #9a3412;
  border: 1px solid #fed7aa; border-radius: 5px;
  padding: .6rem .85rem; font-size: .875rem;
  margin-bottom: 1rem;
}
.alert-success {
  background: #d1fae5; color: #065f46;
  border: 1px solid #6ee7b7; border-radius: 5px;
  padding: .6rem .85rem; font-size: .875rem;
  margin-bottom: 1rem;
}

/* ── Muted note ───────────────────────────────────────── */
.muted-note { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* ── Form page (change-password, etc.) ───────────────── */
.form-page-wrap { max-width: 480px; }
.form-page-card { padding: 1.75rem; }

/* ── Nav user / logout ────────────────────────────────── */
.nav-user {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  white-space: nowrap;
  padding: 0 .5rem;
}
.nav-logout {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.3);
  font-size: .8rem;
}
.nav-logout:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Login page ───────────────────────────────────────── */
.login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; background: var(--bg);
}
.login-wrap {
  width: 100%; max-width: 380px; padding: 1rem;
}
.login-logo {
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent); text-align: center;
  margin-bottom: 1.25rem; letter-spacing: .5px;
}
.login-title {
  font-size: 1.1rem; text-align: center;
  margin-bottom: 1.25rem; color: var(--text);
}
.login-card {
  padding: 2rem;
}
.login-form .form-group {
  margin-bottom: 1rem;
}
.login-form .form-group label {
  display: block; font-size: .8rem;
  font-weight: 600; color: var(--muted);
  margin-bottom: .3rem;
}
.login-form input[type=text],
.login-form input[type=password] {
  width: 100%;
}
.login-btn {
  width: 100%; justify-content: center;
  margin-top: .5rem; padding: .55rem;
}

/* ── Pagination ───────────────────────────────────────── */
.pager {
  position: sticky;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
  padding: .75rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,.07);
}
/* When only one page, show a minimal info-only bar */
.pager.pager-single {
  justify-content: flex-end;
}
.pager-info {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pager-info strong { color: var(--text); }
.pager-sep { color: var(--border); }
.pager-btns {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
}
.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .55rem;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.pager-btn:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.pager-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.pager-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}
.pager-ellipsis {
  color: var(--muted);
  padding: 0 .2rem;
  font-size: .9rem;
  line-height: 2rem;
}

/* ── Golf stats table ─────────────────────────────────── */
.golf-stats-table .num-col { text-align: right; white-space: nowrap; }
.muted-cell  { color: var(--muted); font-size: .85rem; }
.golf-best-cell { color: var(--accent2); font-weight: 600; }

/* ── Golf summary strip ───────────────────────────────── */
.scorecard_hidden_par { display: none; }

.golf-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.golf-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 90px;
  min-width: 80px;
}
.golf-summary-num {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.golf-summary-lbl {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .2rem;
  text-align: center;
}
.golf-summary-best   { color: var(--accent2); }
.golf-summary-birdie { color: #16a34a; }
.golf-summary-eagle  { color: var(--accent); }

/* ── Report picker cards ──────────────────────────────── */
.report-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.report-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .15s, transform .12s;
}
.report-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transform: translateY(-2px);
  text-decoration: none;
}
.report-card-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.report-card-title { font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.report-card-desc  { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ── Photo Quiz ───────────────────────────────────────────── */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.quiz-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ecf0;
}
.quiz-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.quiz-img:hover { transform: scale(1.03); }
.quiz-footer {
  padding: .85rem 1rem .9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.quiz-reveal {
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.quiz-doc-type {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .2rem;
}
.quiz-doc-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.quiz-doc-details {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.quiz-detail-pill {
  background: #f0f4f8;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .72rem;
  padding: .15rem .45rem;
  color: var(--muted);
}
.quiz-detail-pill strong { color: var(--text); }
.quiz-score-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .875rem;
  gap: .75rem;
}
/* Spinner */
.quiz-spinner {
  width: 36px; height: 36px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Utilities dashboard layout ──────────────────────────── */
.util-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.util-sidebar {
  min-width: 180px;
  width: 180px;
  flex-shrink: 0;
  background: var(--surface, #f7f8fa);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.util-sidebar-heading {
  padding: .5rem .75rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted, #57606a);
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 1px solid var(--border, #e5e7eb);
  background: var(--surface, #f7f8fa);
}
.util-sidebar a {
  display: block;
  padding: .6rem .9rem;
  text-decoration: none;
  font-size: .9rem;
  color: var(--text, #1f2328);
  border-bottom: 1px solid var(--border, #e5e7eb);
  border-left: 3px solid transparent;
}
.util-sidebar a.active {
  background: var(--accent-bg, #e8f0fe);
  color: var(--accent, #3b82d4);
  font-weight: 600;
  border-left-color: var(--accent, #3b82d4);
}
.util-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .util-layout {
    flex-direction: column;
    gap: 1rem;
  }
  .util-sidebar {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
  }
  .util-sidebar-heading {
    display: none;
  }
  .util-sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: center;
    border-bottom: none;
    border-left: none;
    border-top: 3px solid transparent;
    padding: .55rem .85rem;
  }
  .util-sidebar a.active {
    border-top-color: var(--accent, #3b82d4);
    border-left-color: transparent;
  }
}

.fradar::before {
  content: "";
  background-image: url("../images/pins/flightradar.PNG");
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  top: 0.1rem;
  margin-right: 0.2rem;
}

/* ── Nav dropdowns (CSS-only) ─────────────────────────────── */
.nav-group {
  position: relative;
}
.nav-group-toggle {
  display: flex; align-items: center; gap: .3rem;
  color: rgba(255,255,255,.75);
  padding: .4rem .75rem;
  border-radius: 5px;
  font-size: .85rem;
  cursor: default;
  white-space: nowrap;
  transition: background .15s, color .15s;
  user-select: none;
}
.nav-group-toggle::after {
  content: '▾';
  font-size: .65rem;
  opacity: .7;
  margin-left: .1rem;
}
.nav-group:hover .nav-group-toggle,
.nav-group:focus-within .nav-group-toggle {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.nav-group-toggle.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #253044;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  z-index: 200;
  padding: .3rem 0;
  flex-direction: column;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  display: flex;
}
.nav-dropdown a {
  padding: .45rem 1rem;
  border-radius: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; gap: .5rem;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
.nav-dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: .3rem 0;
}

/* Mobile: dropdowns become flat inline links */
@media (max-width: 768px) {
  .nav-group { width: 100%; }
  .nav-group-toggle { display: none; }
  .nav-dropdown {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown a {
    padding: .5rem .75rem .5rem 1.5rem;
    font-size: .9rem;
    width: 100%;
  }
  .nav-dropdown-divider { display: none; }
  
}

.dontdisplay {display: none;}

.fradar::before {
  content: "";
  background-image: url("../images/flightradar.PNG");
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  top: 0.1rem;
  margin-right: 0.2rem;
}

a[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0px 3px 0px 5px;
}

.dustbinbut {
  background-image: url('../images/dustbin.svg');
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 30px;
}

.dustbinbut:hover {
  background-image: url('../images/dustbinopen.svg');
  color: white;
}