/* ============================================================
   LEGAL PAGES — LEFT SIDEBAR NAV
   Shared across: privacy, terms, responsible-gaming, cookies,
   opt-out, tax-information, faq
   ============================================================ */

/* Wrap header + body layout (injected via .lp-body div) */
.lp-body {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 57px); /* subtract header height */
}

/* ── Sidebar ─────────────────────────────────────────────── */
.lp-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 57px; /* matches header height */
  height: calc(100vh - 57px);
  overflow-y: auto;
  padding: 36px 0 36px 24px;
  border-right: 1px solid #e8e8e8;
  background: #fafafa;
}

.lp-sidebar-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbbbbb;
  margin-bottom: 16px;
  padding-left: 12px;
}

.lp-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-sidebar-nav a {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #555555;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px 0 0 6px;
  transition: background 0.12s ease, color 0.12s ease;
  line-height: 1.3;
}

.lp-sidebar-nav a:hover {
  background: #f0eaff;
  color: #7B2FFF;
}

/* Active / current page */
.lp-sidebar-nav a.lp-nav-active {
  background: #f0eaff;
  color: #7B2FFF;
  font-weight: 700;
  border-right: 3px solid #7B2FFF;
}

/* Contact is a mailto — same style but slightly muted */
.lp-sidebar-nav a[href^="mailto"] {
  color: #888888;
}
.lp-sidebar-nav a[href^="mailto"]:hover {
  color: #7B2FFF;
  background: #f0eaff;
}

/* ── Main content — override centered margin ─────────────── */
.lp-body .lp-wrap {
  flex: 1;
  min-width: 0;
  margin-left: 0;
  margin-right: auto;
  max-width: 820px;
  padding-left: 48px;
  padding-right: 40px;
}

/* ── Mobile: collapse sidebar to top bar ────────────────── */
@media (max-width: 768px) {
  .lp-body {
    flex-direction: column;
  }

  .lp-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
  }

  .lp-sidebar-label {
    display: none;
  }

  .lp-sidebar-nav {
    flex-direction: row;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .lp-sidebar-nav a {
    white-space: nowrap;
    border-radius: 6px;
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .lp-sidebar-nav a.lp-nav-active {
    border-right: none;
    border-bottom: 2px solid #7B2FFF;
    border-radius: 6px 6px 4px 4px;
  }

  .lp-body .lp-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}
