*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html, body {
  height: 100%; overflow: hidden;
  background: #0d1117; color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
}
.shell {
  display: flex; height: 100vh;
}
.left {
  width: 220px; min-width: 220px;
  background: #1a1f2e;
  border-right: 1px solid #1e2530;
  display: flex; flex-direction: column;
  padding: 0;
  transition: margin-left 0.2s ease;
  margin-left: 0;
  position: relative;
}
.left.collapsed {
  margin-left: -220px;
}
.brand {
  font-size: 22px; font-weight: 700;
  letter-spacing: 2px; color: #00d4aa;
  padding: 16px 20px;
  border-bottom: 1px solid #1e2530;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-toggle {
  background: none;
  border: none;
  color: #8892a4;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.sidebar-toggle:hover {
  color: #00d4aa;
  background: rgba(0,212,170,0.1);
}
.nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 15px; font-weight: 600;
  color: #8892a4; text-decoration: none;
  border-left: 2px solid transparent;
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}
.nav-link.active {
  color: #00d4aa;
  border-left-color: #00d4aa;
  background: rgba(0,212,170,0.08);
}
.right {
  flex: 1; display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-header {
  padding: 20px 28px;
  border-bottom: 1px solid #1e2530;
  font-size: 18px; font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toggle-btn {
  background: none;
  border: none;
  color: #8892a4;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.toggle-btn:hover {
  color: #00d4aa;
  background: rgba(0,212,170,0.1);
}
.page-body {
  flex: 1; overflow-y: auto;
  padding: 24px 28px;
}

/* Login Panel - Bottom Left */
.login-panel {
  margin-top: auto;
  border-top: 1px solid #1e2530;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0d1117;
}
.login-info {
  flex: 1;
}
.login-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.login-status {
  font-size: 11px;
  color: #8892a4;
}
.login-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid #1e2530;
  color: #8892a4;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}
.login-btn:hover {
  border-color: #00d4aa;
  color: #00d4aa;
}
