/* ========================================
   DEMO CELULAR/DESKTOP — CÓPIA DA PLATAFORMA

   Origem: Dashboard Django / static/css/mobile/componentes/abas.css

   NÃO editar à mão. Para atualizar quando a plataforma mudar,
   copie o arquivo de origem por cima deste e recoloque este cabeçalho.
   ======================================== */

/* ========================================
   MOBILE / COMPONENTES - BARRA DE ABAS

   Barra fixa no rodape, presente em todas as telas mobile.
   ======================================== */

.app-abas {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--app-borda);
}

.app-aba {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 10px;
    color: var(--app-texto-fraco);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.app-aba-icone {
    width: 22px;
    height: 22px;
}

.app-aba-ativa {
    color: var(--app-destaque);
}

/* Traço acima do ícone, indicando a aba atual. */
.app-aba-ativa::before {
    content: '';
    position: absolute;
    top: 0;
    width: 34px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: var(--app-destaque);
}

.app-aba {
    position: relative;
}

/* Espaco no fim da pagina para o conteudo nao ficar embaixo da barra. */
.app-mobile .app-conteudo {
    padding-bottom: 84px;
}
