/* Nome do perfil em cima, e-mail embaixo no cabecalho da sidebar. */

#layout-sidebar > .header {
  height: auto;
  min-height: 3.25rem;
  align-items: center;
}

#layout-sidebar > .header a.button.sidebar-menu {
  align-self: center;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem !important;
  min-height: 0 !important;
  line-height: 2.25rem !important;
  margin: 0 !important;
}

#layout-sidebar > .header a.button.sidebar-menu:before {
  height: 2.25rem;
  line-height: 2.25rem;
  margin: 0;
}

#layout-sidebar > .header .header-title.username.edgium-account {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 0.25rem;
  flex: 1;
}

#layout-sidebar > .header .edgium-account-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#layout-sidebar > .header .edgium-account-email {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.92;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Marca Lua Email no lugar do rc+: cabe na coluna estreita do menu */
#layout-menu .popover-header {
  overflow: hidden;
}

#layout-menu #logo,
#layout-menu .popover-header #logo,
#layout-menu .popover-header img {
  display: block !important;
  box-sizing: border-box !important;
  width: 1.75rem !important;
  height: 1.75rem !important;
  max-width: 1.75rem !important;
  max-height: 1.75rem !important;
  margin: 0.7rem auto !important;
  padding: 0 !important;
  object-fit: contain;
}

body.login-page #logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 4.5rem;
  max-height: 4.5rem;
  margin: 0 auto 0.75rem;
}

#vendor-branding {
  display: none !important;
}

/* Estado vazio dos filtros: botao central para adicionar */
#layout-content > .iframe-wrapper {
  position: relative;
}

#edgium-filter-add {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem;
  background: #fff;
  text-align: center;
}

#edgium-filter-add.hidden {
  display: none !important;
}

#edgium-filter-add .edgium-filter-add-hint {
  margin: 0;
  max-width: 22rem;
  color: #5f6368;
  font-size: 0.95rem;
  line-height: 1.4;
}

#edgium-filter-add .edgium-filter-add-btn {
  min-width: 12rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  border-radius: 24px;
  background: #1a73e8;
  color: #fff;
  cursor: pointer;
}

#edgium-filter-add .edgium-filter-add-btn:hover {
  background: #1765cc;
}

html.dark-mode #edgium-filter-add {
  background: #202124;
}

html.dark-mode #edgium-filter-add .edgium-filter-add-hint {
  color: #9aa0a6;
}
