/* Custom Mobile Styles for portalfire.com.br */

@media (max-width: 767px) {

    /* Header adjustments */
    .navbar-brand img {
        height: 30px !important;
        /* Smaller logo */
    }

    .navbar>.container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar .btn {
        padding: 5px 10px;
        /* Smaller button */
        font-size: 12px;
    }

    /* Hero Section */
    .ui-hero h1.heading {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px;
    }

    .ui-hero .actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .ui-hero .actions .btn {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Tabs Layout in "Alguns Módulos" */
    #modulos .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-bottom: none;
        padding-bottom: 5px;
    }

    #modulos .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    #modulos .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px 15px;
    }

    /* Hide scrollbar for Tabs */
    #modulos .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    #modulos .nav-tabs {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Stats Section Adjustment */
    .ui-stats .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
    }

    /* Mobile Menu Polish */
    .ui-navigation {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }

    .ui-navigation .nav>li>a {
        font-size: 18px;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
}