/* ============================================
   NAVBAR SAP FIORI – VERSÃO CORRIGIDA
   ============================================ */

/* Barra superior azul escura (Shellbar SAP) */
.sap-shellbar {
    width: 100%;
    height: 48px;
    background-color: var(--nx-navy);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

/* Logo Axia (tamanho fixo igual SAP) */
.sap-shellbar-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    margin-right: 22px;
}

/* Área de navegação central */
.sap-shellbar-center {
    display: flex;
    align-items: center;
    gap: 28px;
}

.sap-shellbar-item {
    color: white;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    opacity: 0.85;
}

.sap-shellbar-item:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Item ativo */
.sap-active {
    border-bottom: 2px solid var(--nx-blue);
    padding-bottom: 4px;
    opacity: 1 !important;
}

/* Ícone do usuário à direita */
.sap-shellbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.user-icon {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
}


/* ============================================
   SUBHEADER — FAIXA BRANCA SAP FIORI
   ============================================ */

.sap-subheader {
    width: 100%;
    height: 32px;                        /* Altura oficial SAP */
    background: white;
    border-bottom: 1px solid #dedede;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sap-subheader-inner {
    width: 1440px;                        /* Largura real usada no Fiori */
    height: 100%;
}


/* ============================================
   GRID DE TILES – SAP FIORI
   ============================================ */

.fiori-grid {
    width: 100%;
    max-width: 1440px;
    margin: 24px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-gap: 20px;
    padding: 10px 20px;
}

.fiori-tile {
    background: white;
    border-radius: 9px;
    padding: 18px;
    min-height: 130px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.fiori-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 14px rgba(0,0,0,0.15);
}

.tile-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.tile-desc {
    font-size: 13px;
    color: #777;
}


/* ============================================
   AJUSTES DE COMPATIBILIDADE
   ============================================ */

/* Remove margens e recuos extras */
body, html {
    margin: 0;
    padding: 0;
    background: var(--nx-bg) !important;
}

/* Garante que nada da página fique escondido atrás da navbar */
.dashboard-page {
    padding-top: 8px !important;
}

/* Logo padrão antiga (caso ainda exista no HTML) */
.logo-img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

