/* Type Switcher Styles */
.content-type-switcher {
    background: rgba(32, 33, 37, 0.9);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.content-type-switcher .nav-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.content-type-switcher .nav-link {
    color: #aaa;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-type-switcher .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 154, 104, 0.3);
    transform: translateY(-2px);
}

.content-type-switcher .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #ff9a68 0%, #ff545c 100%);
    border-color: #ff9a68;
    box-shadow: 0 4px 15px rgba(255, 154, 104, 0.4);
}

.content-type-switcher .nav-link i {
    margin-right: 5px;
    font-size: 14px;
}

/* Content sections */
.content-type-section {
    animation: fadeIn 0.5s ease-in;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .content-type-switcher .nav-pills {
        flex-wrap: wrap;
    }
    
    .content-type-switcher .nav-link {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .content-type-switcher .nav-link i {
        display: none;
    }
}

/* Type badge for search results */
.type-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 5px;
}

.type-badge.anime {
    background: #3b82f6;
    color: #fff;
}

.type-badge.movie {
    background: #ef4444;
    color: #fff;
}

.type-badge.tv {
    background: #10b981;
    color: #fff;
}

/* Pagination horizontal layout fix for Bootstrap 4 */
.pre-pagination .pagination,
.pagination-container .pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

