/**
 * Mentions Tabs Styles
 * Estilos para los tabs de tipo de medio
 */

/* Tab Navigation */
#mediaTypeTabs {
    background: white;
    border-radius: 8px 8px 0 0;
    padding: 0.5rem 0.5rem 0 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

#mediaTypeTabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
}

#mediaTypeTabs .nav-link:hover {
    color: var(--theme-primary, #0a5fb3);
    background-color: #f8f9fa;
}

#mediaTypeTabs .nav-link.active {
    color: var(--theme-primary, #0a5fb3);
    background-color: white;
    border-bottom-color: var(--theme-primary, #0a5fb3);
    font-weight: 600;
}

#mediaTypeTabs .nav-link .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    font-weight: 700;
    background-color: #6c757d !important;
    color: white !important;
    min-width: 24px;
    text-align: center;
}

#mediaTypeTabs .nav-link.active .badge {
    background-color: var(--theme-primary, #0a5fb3) !important;
    color: white !important;
}

#mediaTypeTabs .nav-link:hover .badge {
    background-color: #495057 !important;
}

#mediaTypeTabs .icon-xs {
    width: 14px;
    height: 14px;
}

/* Tab Content */
.tab-content {
    background: transparent;
    min-height: 400px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty States en Tabs */
.tab-pane .empty-feed {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #mediaTypeTabs .nav-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
    
    #mediaTypeTabs .nav-link .icon-xs {
        width: 12px;
        height: 12px;
    }
    
    #mediaTypeTabs .nav-link .badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
    
    /* Stack tabs vertically on very small screens */
    @media (max-width: 576px) {
        #mediaTypeTabs {
            flex-wrap: wrap;
        }
        
        #mediaTypeTabs .nav-item {
            flex: 1 0 50%;
        }
    }
}

