/* ================================================================
   CUSTOM PILLS (nav-pills-custom)
   ================================================================ */

.nav-pills-custom {
    display: flex;
    gap: 12px;
    justify-content: center;
    background: #f4f6f9;
    padding: 8px 12px;
    border-radius: 40px;
    margin-bottom: 25px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
}
.nav-pills-custom .nav-link {
    border-radius: 30px;
    color: #546e7a;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    background: transparent;
    transition: all 0.25s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-pills-custom .nav-link:hover {
    color: #1976d2;
    background: rgba(25, 118, 210, 0.08);
}
.nav-pills-custom .nav-link.active {
    background: #1976d2 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}
.nav-pills-custom .nav-link i {
    font-size: 16px;
}

@media (max-width: 575.98px) {
    /* Impede que as pills quebrem em 2 linhas, forçando 1 linha, rolagem se não caber ou reduzindo gap */
    .nav-pills-custom {
        gap: 4px;
        padding: 4px 6px;
        width: fit-content;
        max-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        margin-left: auto;
        margin-right: auto;
    }
    .nav-pills-custom .nav-link {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
}
