/* ===== GAIT Global Navigation & Footer ===== */

:root {
  --gn-bg:          #1C1428;
  --gn-purple:      #6B3FA0;
  --gn-purple-dark: #4A2870;
  --gn-radius:      8px;
}

/* Override style.css nav { display: block } */
nav.gait-nav {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: var(--gn-bg);
  padding: 0 20px;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'DM Sans', Arial, sans-serif;
  box-sizing: border-box;
}

.gait-nav-left {
  display: flex;
  align-items: center;
  gap: 2px;
}

.gait-nav-item {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.65) !important;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: var(--gn-radius);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.gait-nav-item:hover {
  background: rgba(255,255,255,0.07) !important;
  color: #fff !important;
}

.gait-nav-item.active {
  background: var(--gn-purple) !important;
  color: #fff !important;
}

.gait-nav-item svg {
  flex-shrink: 0;
}

/* Right side: version toggles + user info */
.gait-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-family: 'DM Sans', Arial, sans-serif;
  white-space: nowrap;
}

.gait-nav-right a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
}

.gait-nav-right a:hover {
  color: #fff !important;
}

.gait-nav-divider {
  color: rgba(255,255,255,0.2);
}

/* Version toggle buttons */
.gait-version-wrap {
  display: flex;
  gap: 3px;
  margin-right: 2px;
}

.gait-btn-toggle {
  padding: 5px 12px;
  border-radius: var(--gn-radius);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
  white-space: nowrap;
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1;
}

.gait-btn-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.gait-btn-toggle.active {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* Footer - fixed at bottom like the old footer */
.gait-footer {
  background: var(--gn-bg);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  font-family: 'DM Sans', Arial, sans-serif;
  box-sizing: border-box;
}

/* Push body content above fixed footer */
#body-content {
  padding-bottom: 46px !important;
}

/* ===== DROPDOWN MENUS (new nav only) ===== */

.gait-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.gait-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0d8ec;
  border-radius: var(--gn-radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 210px;
  z-index: 300;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow: hidden;
}

.gait-dropdown-wrap:hover .gait-dropdown {
  display: block;
}

.gait-dropdown li a {
  display: block !important;
  padding: 8px 16px;
  font-size: 12.5px;
  color: #1A1025 !important;
  text-decoration: none !important;
  white-space: nowrap;
  font-weight: 400;
  transition: background 0.12s, color 0.12s;
}

.gait-dropdown li a:hover {
  background: #ede5f6 !important;
  color: var(--gn-purple) !important;
}

.gait-dd-separator {
  height: 1px;
  background: #e0d8ec;
  margin: 4px 0;
  padding: 0 !important;
}

/* Chevron indicator */
.gait-chevron {
  margin-left: 2px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.15s, opacity 0.15s;
}

.gait-dropdown-wrap:hover .gait-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

