/* ── Lothringer brand palette ───────────────────────────────────────────── */

:root {
  /* Primary */
  --navy-dark:    #050D50;
  --navy:         #004489;
  --neutral-grey: #323E48;
  --blue:         #3399CC;
  --cyan:         #66CCFF;
  --orange:       #F7AA14;
  --white:        #FFFFFF;

  /* Secondary */
  --alt-red:    #CC3333;
  --alt-purple: #66486F;
  --alt-pink:   #CC0089;
  --alt-teal:   #00A19A;
  --alt-green:  #3AAA35;
  --alt-salmon: #FF8767;
}

/* ── Base ──────────────────────────────────────────────────────────────── */

body {
  font-family: system-ui, sans-serif;
  background: #f5f4f0;
  color: #1a1a18;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 2rem;
}

body.page-canvas {
  height: 100vh;
  overflow: hidden;
}

body.page-canvas main {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Header ────────────────────────────────────────────────────────────── */

header {
  background-color: #050d50;
}

header .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

header .navbar-brand {
  text-decoration: none;
}

header .brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  display: block;
}

header .brand-tagline {
  font-size: 0.72rem;
  color: #F7AA14;
  display: block;
  letter-spacing: 0.02em;
}

header .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 999px) {
  header .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

header .navbar-nav .nav-link:hover {
  color: #66CCFF;
}

header .navbar-nav .nav-link.active {
  color: #3399CC;
}

header .navbar-nav .nav-link.active::after {
  content: "";
  display: block;
  border-bottom: 2px solid #3399CC;
}

header .nav-cta {
  background: #F7AA14;
  color: #050d50 !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.35rem 1.1rem !important;
}

header .nav-cta:hover {
  background: #e69b00;
  color: #050d50 !important;
}

header .nav-cta.active::after {
  display: none;
}

/* ── Nav auth controls ─────────────────────────────────────────────────── */

.nav-username {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.nav-logout-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.nav-logout-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: #050d50;
  color: #9aaab8;
  border-top: 1px solid #0a1870;
}

.site-footer a {
  color: #66CCFF;
  text-decoration: none;
}

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

.build-date {
  color: #4a5a6a;
  font-size: 0.72rem;
}

.powered-by {
  color: #9aaab8;
  text-decoration: none;
  font-size: 0.82rem;
}

.powered-by:hover {
  color: #fff;
}

.footer-policy-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
}

/* ── Cookie banner ─────────────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d1a60;
  border-top: 1px solid #1e2f8a;
  color: #c8d4e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.87rem;
  z-index: 1050;
  flex-wrap: wrap;
}

.cookie-banner-text {
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner-text a {
  color: #66CCFF;
  text-decoration: none;
}

.cookie-banner-text a:hover {
  color: #fff;
}

.cookie-accept-btn {
  background: #F7AA14;
  color: #050d50;
  border: none;
  border-radius: 5px;
  padding: 0.45rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cookie-accept-btn:hover {
  background: #e09a0d;
}

/* ── Shared button utilities ───────────────────────────────────────────── */

.lp-btn-primary {
  background: #F7AA14;
  color: #050d50;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.97rem;
  transition: background 0.15s;
}

.lp-btn-primary:hover {
  background: #e09a0d;
  color: #050d50;
}

.lp-btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.97rem;
  transition: border-color 0.15s, color 0.15s;
}

.lp-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
