html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}



html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body {
    font-family: 'Encode Sans', sans-serif;
}

.nav-item.active {
    background-color: #3687c9;
    font-weight: bold;
    color: white;
}
.nav-item.active span{
    color: #fff;
}
.nav-item.active svg{
    color: #fff;
}
.nav-item:hover {
    background: #acd2f1 !important;
}
.nav-item.active:hover {
    color: #000 !important;
}

:root {
    --sidebar-w: 260px;
}

.topbar-user {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: #ffffff;
    height: 100px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}


    .topbar-user.has-sidebar {
        left: var(--sidebar-w);
        width: calc(100% - var(--sidebar-w));
    }

.topbar-left .titulo {
    font-weight: 700;
    font-size: 2.15rem;
    color: #0c3d68;
    line-height: 1.1;
}

.topbar-left .subtitulo {
    font-size: 1.2rem;
    color: #6b7280;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-contigo {
    height: 40px;
    display: block;
}

.user-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-initials {
    background-color: #007bff;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    line-height: 44px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.admin-badge {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 8px;
}

@media (max-width: 992px) {
    :root {
        --sidebar-w: 0px;
    }

    .topbar-user.has-sidebar {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .topbar-user {
        height: auto;
        padding: 10px 12px;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .topbar-right {
        margin-left: auto;
    }
}
body {
    padding-top: 72px;
}
