/* ============================= */
/* MENU SUPERIOR (FIXO ALINHADO COM A SIDEBAR) */
/* ============================= */
#newbase-menubar {
    width: calc(100% - 300px); /* Ocupa o restante da tela */
    height: 60px;
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    position: relative;
    top: 0;
    left: 300px; /* Sempre alinhado com a sidebar */
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
    z-index: 1050;
}

/* 🔹 Ajusta o menubar */
body.sidebar-collapsed #newbase-menubar {
    width: 100%;
    left: 0;
}

/* Ícone do menu lateral */
.menu-icon {
    font-size: 24px;
    color: #FFFFFF;
    background: #20B486;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
}

/* Barra de pesquisa */
.search-bar {
    flex: 1;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

/* Ícones de notificações e mensagens */
.topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    border: none;
    font-size: 18px;
    color: #2C323F;
    width: 30px;
    height: 30px;
    background: #F7F7FA;
    border-radius: 50%;
    cursor: pointer;

}

.icon-btn:hover {
    color: #008f4c;
}

/* Perfil do Usuário */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.username {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1D1D1D;
    margin-bottom: 0px;
}

.user-role {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #3D5EE1; /* Azul para destaque */
    font-weight: 400;
    margin-bottom: 0px;
}

/* ============================= */
/* BANNER COM TEXTO (ABAIXO DO MENU) */
/* ============================= */
#newbase-banner {
    position: relative;
    width: calc(100% - 300px); /* Ajuste conforme sidebar */
    margin-left: 300px;
    margin-top: 0px;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.sidebar-collapsed #newbase-banner {
    width: 100%;
    margin-left: 0;
}

.banner-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0px 0px 20px 20px;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: white;
}

.banner-text h1 {
    font-size: 32px;
    font-weight: bold;
}

.banner-text p {
    font-size: 18px;
    margin-top: 5px;
}
