/* Shell espelhado do DashPro+ (nimochat-dash) — mesma identidade visual e estrutura.
   Gerado por extract_shell_css.py: preserva @media (a regra mobile esconde a sidebar). */

:root {
  --primary: #00346e;
  --primary-light: #058fcb;
  --secondary: #52abd1;
  --accent: #00BCD4;
  --positive: #25d366;
  --negative: #f44336;
  --warning: #ffeb3b;
  --neutral: #058fcb;

  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-sidebar: rgba(255, 255, 255, 0.92);
  --bg-header: rgba(255, 255, 255, 0.95);

  --text-primary: #2c2c2c;
  --text-secondary: #495057;
  --text-muted: #6c757d;
  --text-light: #ffffff;

  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  backdrop-filter: blur(10px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}
.sidebar-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo {
  max-width: 160px;
  height: auto;
}
.sidebar-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sidebar-nav {
  flex: 1;
  padding: 12px 8px;
  overflow-y: auto;
}
.nav-section {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 12px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s;
}
.nav-item:hover {
  background: rgba(0, 52, 110, 0.07);
  color: var(--primary);
}
.nav-item.active {
  background: rgba(0, 52, 110, 0.12);
  color: var(--primary);
  font-weight: 500;
}
.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.user-name { font-size: 13px; font-weight: 500;
}
.user-tenant { font-size: 11px; color: var(--text-muted);
}
.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  transition: color 0.2s;
}
.btn-logout:hover { color: var(--negative);
}
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 24px 32px;
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0);
  }
  .main-content { margin-left: 0; padding: 16px;
  }
}