/* ============================================
   💾 FAVORITES / SAVED CONTENT
   ============================================ */

/* Tabs Styling */
.favorites-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.favorites-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.favorites-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.favorites-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, #e74c3c 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.favorites-tab i {
    font-size: 1.1rem;
}

/* Tab Content */
.favorites-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.favorites-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid Styling for Saved Items */
#favorites-posts-grid,
#favorites-reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    #favorites-posts-grid,
    #favorites-reels-grid {
        grid-template-columns: 1fr;
    }

    .favorites-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Empty State for each tab */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text);
    opacity: 0.7;
}

.empty-state i.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}