/* ========================================
   CSS TABS MMGD - MÁXIMA PRIORIDADE
   ======================================== */

/* IMPORTANTE: Especificidade máxima para sobrescrever Bootstrap */

/* Abas INATIVAS */
.mmgd-custom-tabs .nav.nav-tabs .nav-item .nav-link,
.mmgd-custom-tabs .nav-tabs .nav-link,
.mmgd-custom-tabs .nav-link {
    color: #1A1A1A !important;
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0;
    padding: 12px 24px;
    margin-right: 4px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Abas ATIVAS - Verde Comerc */
.mmgd-custom-tabs .nav.nav-tabs .nav-item .nav-link.active,
.mmgd-custom-tabs .nav-tabs .nav-link.active,
.mmgd-custom-tabs .nav-link.active,
.mmgd-custom-tabs .nav-tabs .nav-item.show .nav-link {
    color: #ffffff !important;
    background-color: #94D600 !important;
    border-color: #94D600 !important;
    font-weight: 600 !important;
}

/* Hover em abas inativas */
.mmgd-custom-tabs .nav.nav-tabs .nav-item .nav-link:not(.active):hover,
.mmgd-custom-tabs .nav-tabs .nav-link:not(.active):hover {
    color: #1A1A1A !important;
    background-color: #C5E86C !important;
    border-color: #94D600 !important;
}

/* Container das tabs */
.mmgd-custom-tabs .nav-tabs {
    border-bottom: 2px solid #94D600 !important;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Conteúdo */
.mmgd-custom-tabs .tab-content {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 0;
}

.mmgd-custom-tabs .tab-pane {
    padding: 0;
}

/* Forçar cor em elementos internos */
.mmgd-custom-tabs .nav-link *,
.mmgd-custom-tabs .nav-link span,
.mmgd-custom-tabs .nav-link label {
    color: inherit !important;
}

/* Remover outline azul */
.mmgd-custom-tabs .nav-link:focus,
.mmgd-custom-tabs .nav-link:active {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(148, 214, 0, 0.25) !important;
}

/* Centralização */
.mmgd-custom-tabs.justify-content-center .nav-tabs {
    justify-content: center;
}

/* Remover QUALQUER link azul */
.mmgd-custom-tabs a,
.mmgd-custom-tabs a:link,
.mmgd-custom-tabs a:visited,
.mmgd-custom-tabs a:hover,
.mmgd-custom-tabs a:active {
    color: inherit !important;
    text-decoration: none !important;
}
