/* Gerado por split de app/static/css/estilo_ph3a.css (fundação da reorganização de CSS, 03/08/2026). Ver app/utils/css_manifest.py pra ordem de carregamento. */

/* ============================================================
   TOP NAVBAR
   ============================================================ */

.ph3a-topbar {
  height: var(--topbar-height);
  background: var(--ph3a-white);
  border-bottom: 1px solid var(--ph3a-border);
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 16px;
  transition: left var(--transition);
}

.topbar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ph3a-text);
  flex: 1;
}

.topbar-title .breadcrumb-sep {
  color: var(--ph3a-text-light);
  margin: 0 6px;
  font-weight: 400;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;              /* ícones mais respirados (Paulo 29/08/2026) */
  margin-left: auto;      /* cola o bloco (ícones + Administrador) no canto direito,
                             mesmo quando a busca atinge o max-width e sobra espaço */
}

.topbar-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--ph3a-border);
  background: transparent;
  color: var(--ph3a-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.topbar-btn:hover {
  background: var(--ph3a-bg);
  color: var(--ph3a-text);
}

.topbar-btn .notif-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  background: var(--ph3a-accent);
  border-radius: 50%;
  border: 2px solid white;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.topbar-user:hover {
  background: var(--ph3a-bg);
  border-color: var(--ph3a-border);
}

.topbar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ph3a-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.topbar-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph3a-text);
}


