/* -------------------- Estilos Mobile Sidebar Toggle -------------------- */

/* Botão toggle mobile */
.mobile-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.mobile-menu-btn i {
    font-size: 24px;
    color: var(--bs-body-color);
}

/* Ajustes para mobile */
@media (max-width: 1199.98px) {
    /* Garante que a sidebar fique visível quando aberta no mobile */
    body[data-sidebar-size=default] .startbar {
        margin-left: 0;
        z-index: 1005;
    }
    
    /* Topbar ajusta para dar espaço ao botão mobile */
    .topbar {
        width: 100%;
        margin-left: 0;
    }
    
    /* Welcome text ajusta no mobile */
    .welcome-text {
        margin-left: 8px !important;
    }
    
    .welcome-text h3 {
        font-size: 1.2rem;
    }
}

/* Ajustes muito pequenos (celulares) */
@media (max-width: 575.98px) {
    .welcome-text h3 {
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        padding: 6px 10px;
    }
}
