/* ServiDesk Web — logo Bio Raptor fornecida pelo cliente */
.sidebar .brand { gap:12px; min-width:0; }
.sidebar .sd-br-sidebar-logo { width:52px; height:52px; flex:0 0 52px; object-fit:contain; border-radius:12px; background:#111; border:1px solid rgba(230,176,58,.27); }
.sidebar .brand b { color:inherit; letter-spacing:.01em; }
.sidebar .brand small { font-size:9px; letter-spacing:.09em; }
.auth .sd-br-login-logo { display:block; object-fit:contain; margin:0 auto 10px; width:146px; height:146px; max-width:100%; border-radius:14px; background:#111; }
.auth .card h1 { font-size:clamp(1.45rem,4vw,2rem); letter-spacing:-.02em; }
@media (max-width:440px){.sidebar .sd-br-sidebar-logo{width:44px;height:44px;flex-basis:44px}.sidebar .brand small{font-size:8px}}

/* Correção: mantém o rodapé com o botão Sair visível quando o menu cresce. */
.sidebar {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand,
.sidebar > .side-head { flex: 0 0 auto; }
.sidebar > nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  grid-auto-rows: max-content;
  scrollbar-width: thin;
  scrollbar-color: #405373 transparent;
  overscroll-behavior: contain;
  padding-bottom: 12px;
}
.sidebar > .side-foot {
  flex: 0 0 auto;
  margin-top: 0;
  min-height: 74px;
  padding: 12px 16px;
  background: var(--nav);
}
.sidebar > .side-foot .logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid #405373;
  border-radius: 8px;
  color: #e5eeff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sidebar > .side-foot .logout:hover,
.sidebar > .side-foot .logout:focus-visible {
  color: #fff;
  background: #29446a;
  border-color: #6e9bce;
}
