﻿body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    background: radial-gradient(1200px 600px at 50% 30%, rgba(0,80,160,.25), rgba(0,0,0,0) 60%), linear-gradient(180deg,#020c16 0%,#041526 100%);
    color: #fff;
}

/* NAVBAR */

.asete-navbar {
    background: rgba(7,16,26,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 10px 20px;
}

/* GRID DESKTOP */

.asete-navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* ESQUERDA */

.asete-nav-left {
    display: flex;
    align-items: center;
}

/* CENTRO */

.asete-menu {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* DIREITA */

.asete-user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* LINKS */

.asete-navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* BOTÕES MENU */

.asete-pill {
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
    white-space: nowrap;
}

    .asete-pill.active {
        background: rgba(33,96,255,.25);
        border-color: rgba(33,96,255,.35);
    }

/* USER */

.asete-userbox {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: right;
}

    .asete-userbox .name {
        font-size: 13px;
        font-weight: 700;
    }

    .asete-userbox .email {
        font-size: 11px;
        color: rgba(255,255,255,.65);
    }

/* BOTÃO SAIR */

.asete-btn-danger {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255,77,77,.16);
    border: 1px solid rgba(255,77,77,.25);
    color: #fff;
    font-weight: 600;
}

/* CONTAINER */

.asete-container {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* BOTÃO MENU */

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* GRID NAVBAR DESKTOP */

.asete-navbar-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* ESQUERDA */

.asete-nav-left {
    display: flex;
    align-items: center;
}

/* CENTRO */

.asete-nav-center {
    display: flex;
    justify-content: center;
}

/* DESKTOP CENTRALIZAÇÃO REAL */

.asete-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.asete-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================= */
/* LOGO NAVBAR */
/* ========================================= */

.asete-logo {
    margin-left: 12px;
    align-items: center;
}

    .asete-logo img {
        height: 34px;
        transition: .3s;
        opacity: .9;
    }

    /* hover elegante */

    .asete-logo:hover img {
        transform: scale(1.05);
        opacity: 1;
    }

.asete-navbar-admin {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px; /* ajuste conforme sua navbar */
}
/*
.asete-left {
    z-index: 2;
}*/

.asete-logo-centro {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-decoration: none;
}

    .asete-logo-centro img {
        height: 42px; /* ajuste como quiser */
        width: auto;
        display: block;
    }

/* MOBILE */

@media (max-width:768px) {

    .asete-logo {
        display: none !important;
    }

    /* reset do centro que é absoluto no desktop */

    .asete-center {
        position: static;
        transform: none;
        width: 100%;
    }

    /* collapse ocupa largura total */

    #menuAsete {
        width: 100%;
    }

        /* esconder user quando menu abre */

        #menuAsete.show ~ .asete-user {
            display: none;
        }

    /* menu vertical */

    .asete-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 8px;
        padding-top: 12px;
    }

    /* botões ocupam toda largura */

    .asete-pill {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }
}


body.asete-colaborador-theme {
    background: #0e4fa9;
}

body.asete-colaborador-theme .asete-navbar {
    background: rgba(4, 39, 97, .92);
    border-bottom-color: rgba(255,255,255,.18);
}

body.asete-colaborador-theme .asete-pill.active {
    background: rgba(255,255,255,.24);
    border-color: rgba(255,255,255,.4);
}

.asete-footer {
    margin-top: auto;
    padding: 12px 16px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.65);
    background: transparent;
}

    .asete-footer a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
        margin: 0 6px;
        white-space: nowrap;
    }

        .asete-footer a:hover {
            color: #fff;
            text-decoration: underline;
        }