.ft-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1500;
}

.ft-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ft-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 280px;
  max-width: 92vw;
  padding: 1.25rem 1rem;
  background: rgba(15, 23, 42, 0.97);
  color: #f8fafc;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ft-menu-panel.active {
  transform: translateX(0);
}

.ft-menu-panel h2 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 1rem 0 0.5rem;
}

.ft-menu-panel a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
}

.ft-menu-panel a:hover {
  background: rgba(37, 99, 235, 0.25);
}

.ft-nav-access summary,
.ft-nav-toggle {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--surface-light);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-nav-access summary::-webkit-details-marker {
  display: none;
}

.ft-nav-access-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.35rem;
  z-index: 1200;
}

.ft-nav-access-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.ft-nav-access-list a:hover {
  background: var(--surface-muted);
}

.ft-nav-access {
  position: relative;
}

.navbar .ft-nav-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
