/* ── LIVESTOCK OS · SHARED NAVIGATION ── */
:root {
  --los-top: 56px;
  --los-side: 224px;
}

/* ── TOPBAR ── */
#los-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--los-top);
  z-index: 1000;
  background: #191d1a;
  border-top: 3px solid #fb4b02;
  border-bottom: 1px solid #2e3530;
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0;
}

.tb-logo {
  width: var(--los-side);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f0ede8;
  text-decoration: none;
  border-right: 1px solid #2e3530;
  height: 100%;
  flex-shrink: 0;
}
.tb-logo span { color: #fb4b02; }

.tb-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  overflow: hidden;
}

.tb-clock {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #565e53;
  white-space: nowrap;
}

.tb-weather {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: #565e53;
  display: none;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.tb-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  flex-shrink: 0;
}

.tb-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.tb-btn-ghost {
  color: #baae97;
  background: #222827;
  border: 1px solid #2e3530;
}
.tb-btn-ghost:hover { border-color: #fb4b02; color: #fb4b02; }
.tb-btn-primary {
  color: #fff;
  background: #fb4b02;
  border: 1px solid #fb4b02;
}
.tb-btn-primary:hover { filter: brightness(1.12); }
.tb-btn-live {
  color: #3d8a51;
  background: rgba(61,138,81,.1);
  border: 1px solid rgba(61,138,81,.28);
}
.tb-btn-live:hover { background: rgba(61,138,81,.18); border-color: rgba(61,138,81,.55); }

#los-hamburger {
  display: none;
  background: none;
  border: 1px solid #2e3530;
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  margin-right: 12px;
}
#los-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #baae97;
  border-radius: 1px;
}

/* ── SIDEBAR ── */
#los-sidebar {
  position: fixed;
  top: var(--los-top);
  left: 0;
  width: var(--los-side);
  height: calc(100vh - var(--los-top));
  z-index: 900;
  background: #161a17;
  border-right: 1px solid #2e3530;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #2e3530 transparent;
}
#los-sidebar::-webkit-scrollbar { width: 3px; }
#los-sidebar::-webkit-scrollbar-thumb { background: #2e3530; }

.sn-group { padding: 14px 0 2px; }

.sn-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #3a4038;
  padding: 0 16px 5px;
}

.sn-link {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5a6858;
  text-decoration: none;
  padding: 5px 16px 5px 14px;
  transition: color 0.12s, background 0.12s;
  border-left: 2px solid transparent;
}
.sn-link:hover {
  color: #f0ede8;
  background: rgba(255,255,255,.03);
}
.sn-link.active {
  color: #f0ede8;
  border-left-color: #fb4b02;
  background: rgba(251,75,2,.07);
}

.sn-divider {
  height: 1px;
  background: #222827;
  margin: 6px 16px;
}

.sn-spacer { flex: 1; min-height: 20px; }

.sn-version {
  font-family: 'Rajdhani', sans-serif;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #2e3530;
  padding: 12px 16px;
  border-top: 1px solid #222827;
  text-transform: uppercase;
}

/* ── CONTENT WRAP ── */
#los-content {
  margin-left: var(--los-side);
  padding-top: var(--los-top);
  min-height: 100vh;
}

/* ── MOBILE OVERLAY ── */
#los-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 850;
}
#los-overlay.open { display: block; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  :root { --los-side: 0px; }

  #los-sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.4);
  }
  #los-sidebar.open { transform: translateX(0); }

  #los-content { margin-left: 0; }

  .tb-logo { width: auto; border-right: none; }
  .tb-center { display: none; }
  .tb-ctas .tb-btn-ghost { display: none; }

  #los-hamburger { display: flex; }
}
