/* Mobile Menu */
@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #1a1a1a;
        padding: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    .mobile-menu.show {
        right: 0;
    }

    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 2rem 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu ul li {
        margin: 0;
        width: 100%;
    }

    .mobile-menu ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        display: block;
        padding: 0.8rem 1rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .mobile-menu ul li a:hover {
        color: #007bff;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu ul li a.active {
        color: #007bff;
        background-color: rgba(0, 123, 255, 0.1);
    }

    .mobile-menu .button-sair {
        margin-top: 2rem;
        padding: 0.8rem 1.5rem;
        border: 1px solid #fff;
        border-radius: 4px;
        color: #fff;
        text-decoration: none;
        display: inline-block;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
    }

    .mobile-menu .button-sair:hover {
        background-color: #fff;
        color: #1a1a1a;
    }

    /* Estilos para a tabela responsiva */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        width: 100%;
        min-width: 650px;
        /* Garante que a tabela tenha uma largura mínima */
    }

    .table-responsive tbody {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .table-responsive tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .table-responsive td,
    .table-responsive th {
        padding: 0.75rem;
        vertical-align: middle;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    .desktop-menu {
        display: block !important;
    }
}