/* Additional styles for trending page */

/* Make sure trending filter buttons are clickable */
.trending-filter-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 80px;
    font-size: 1rem;
    border: none;
    outline: none;
}

.trending-filter-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.trending-filter-btn.active {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Ensure image modal works properly */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 2001;
}

/* Ensure all meme cards are visible by default */
.meme-card {
    display: flex !important;
}